- Getting Started
- Basic Configuration
- Creating Multiple Sites On Your Local Computer
- Error Pages
- Accessing Your Test Site(s)
- Adding Modules and Themes
- Creating Content
- Custom Blocks
- Working with the Menu
- The Contact Form
- URL Aliases
- Moving Entire Drupal Site with Databases
- Moving Stuff to Your Web Site
- Setting Up Cron
- Additional Tips and Tricks
- Categories (Taxonomy)
- Common Problems
- Links and IMG
- Keeping Your Local and Remote Sites Synchronized
- More Reading
- Glossary
Error Pages
Submitted on Thu, 02/08/2007 - 14:51.
Occasionally, a user may do something that confuses DrupalDrupal
An open-source content management system that is used on this site and is taking over the world., such as typing a wrong page name or trying to access content they shouldn't. These will generate 404 and 403 errors, respectively.
A recent SEO newsletter, they mentioned the value of letting DrupalDrupal
An open-source content management system that is used on this site and is taking over the world. handle these errors:
Your unique 404 error page should look like a regular page of your siteA logically grouped set of content - also web site.. It should include your siteA logically grouped set of content - also web site.'s header, footer and navigation bar so that the siteA logically grouped set of content - also web site. visitor can easily click on another area of your siteA logically grouped set of content - also web site.. The content of this unique 404 error page should contain text explaining that the page selected is no longer available along with contact information so the siteA logically grouped set of content - also web site. visitor has the option of emailing or calling your company.
This was one of those "Duh" moments for me. How obvious it is that you should make it easy for the user to get "back into" your siteA logically grouped set of content - also web site..
The same more or less goes for the "access denied" (403) error message. Let them know they did a no-no and try to explain why.
You set these in Administer>>SiteA logically grouped set of content - also web site. Configuration>>Error Handling. Create the pages first.
Page Not Found
Here's the HTMLHyperText Markup Language - the coding standard for a web page. for my 404 page:
<P>Sorry! The page you were looking for no longer exists. We redesigned our site and many of the pages have changed.</P>
<P> </P>
<P>If you are unable to find something on our new site or have a question about our site or services feel free to <A HREF="contact">contact us</A>.</P>
<P> </P>
<P>--Webmistress</P>Access Denied
Here's the HTMLHyperText Markup Language - the coding standard for a web page. for my 403 page:
<P>We're sorry, but you must have permission to view the page you requested.</P>
<P> </P>
<P>If you are already a registered member of this site, please try logging in.</P>
<P> </P>
<P>If you are not a member, you need to <A HREF="join_us">join us</A>.</P>
<P> </P>
<P>If you have any questions about our site or group, please feel free to <A HREF="contact">contact us</A>.</P>
<P> </P>
<P>--Webmistress</P>Don't worry that you haven't created the "join_us" page yet. This is an advantage to having URL Alias support (the Path moduleAn add-on, or extension, to Drupal to provide additional functionality; written in PHP.) enabled.



Recent comments
1 week 4 days ago
6 weeks 3 days ago
6 weeks 3 days ago
7 weeks 2 days ago
7 weeks 3 days ago
8 weeks 4 days ago
8 weeks 5 days ago
9 weeks 1 day ago
9 weeks 3 days ago
9 weeks 3 days ago