Breadcrumb

404, 403, and Search

When a new Drupal site is created, there are four pages that can already be found in the content listing. Three of these pages are the 404, the 403, and a search results page. The 404 and 403 pages are created as basic pages; this means they can be edited to suit the site's needs. 

The 404 page

What is a 404 page?
A 404 page is the "content not found" page. This is the page that someone will be directed to if they accidentally type in a wrong path (example: /mypaage instead of /mypage) or attempt a page or file that no longer exists. The 404 page has a path of /404 and can be accessed that way as well within your Drupal site. 

How do I edit my 404 page?
Log in to your website and click the Content tab. Filter for "404" or scroll through your pages until you find "404 - Content Not found". Edit as if you are editing any other basic page. The Edit tab will allow you to update body content. The Layout tab will allow you to add any necessary blocks. 

What if I delete my 404 page?
If that happens, a Drupal default 404 will display to visitors, rather than the specially created 404 page. If your site no longer has a 404 page, it can be recreated. The best way to recreate it is create a new basic page, title it "404 - Content Not Found" and navigate to websites.ucr.edu/404 to copy its information into the body of your page. Make any textual tweaks as necessary. 

The 403 page

What is a 403 page?
A 403 page is the "permission denied" page. This is the page that someone will be directed to if they attempt to access a page they do not have permission to, such as a page that is still in draft. The 403 page has a path of /403 and can be accessed that way as well within your Drupal site. 

How do I edit my 403 page?
Log in to your website and click the Content tab. Filter for "403" or scroll through your pages until you find "403 - Permission Denied". Edit as if you are editing any other basic page. The Edit tab will allow you to update body content. The Layout tab will allow you to add any necessary blocks. 

What if I delete my 403 page?
If that happens, a Drupal default 403 will display to visitors, rather than the specially created 403 page. If your site no longer has a 403 page, it can be recreated. The best way to recreate it is create a new basic page, title it "403 - Permission Denied" and navigate to websites.ucr.edu/403 to copy its information into the body of your page. Make any textual tweaks as necessary. 

The Search Results page

What is the Search Results page?
When a visitor hits either "search" options and completes a search, the visitor is directed to your site's search results page. That is, if your site is set up to allow for it. Learn how to configure your site for internal searching. The page can be accessed at "/results" of your site. Having this page is handy for visitors to complete internal site searches only and remain on your site. This page should not be edited. It is created using the "Google Custom Search" content type. 

What if I delete my results page? 
It is best to contact Campus Web Solutions and complete a request to have your search results page recreated.