Any template offered by Web Services comes with a 404 page created for you. In order for this 404 page to work, you must add a 404 error command to the configuration file (.htaccess) on the root. The plugin - .htaccess has been added to the root section for you when using a template.
For sites not using a Web Services template, this is still easily accomplished by using the Plugin - .htaccess.
You'll also need a 404 page. Generally this would be a hidden page (hide in navigation).
To add the 404 command to the .htaccess file on the site root, do the following:
Navigate to the root branch of the site and Add Content
The content type to add is Plugin - .htaccess File
Add the following: ErrorDocument 404 /404.html
Sample 404 Page Content:
Page Not Found
Uh oh! The page you're looking for is nowhere to be found.
First, double check the URL. If you continue to reach this page, please contact us so we can correct our mistake.
Now, let’s help you find your way. To help locate your document you might try:
- VCU A to Z index, an alphabetical list of VCU websites
- Or simply use the search field at the top of the page