Creating Error 404 page
Helping lost visitors? Sometimes a link provided by you may end up as 404 page or viewer might have typed wrong URL that doesn't lead correct page on your site. To help your visitors you can actually use .htaccess file (for Apache servers) to redirect all such links to a special page which will be more useful than plain "404 File Not found" error.
You can add this one line to .htaccess file (create this file if it doesn't exist)
ErrorDocument 404 /web404.html
On that page you can provide user with:
- Link to homepage
- Tell them to check the URL or Go Back
- Search functionality for your website will be very useful.
I have also added similar functionality for my wordpress blog. For setting up 404 Error page on wordpress follow this well compiled article: Creating an Error 404 Page
Interesting read: Creating User Friendly 404 Pages
Related Post:
Web Development Tools
No comments:
Post a Comment