A custom 404 page

Let’s see how to create a custom 404 page in two simple steps.

  1. You need to have access to your webserver and upload to its root the .htaccess file. This is a simple file which tells the server to show a default page in case the one we are trying to access cannot be found. The file looks like this:
    ErrorDocument 404 http://www.yoursite.com/404.html
    
  2. Upload to your webserver a file called 404.html previously edited; you may write custom sentences like ‘Sorry, but the page you are trying to reach does not exist’. If you like, you may add a custom search box: just browse to google webmaster tool in your google account and choose ‘optimize your 404 page’.

More on this topic:

This entry was posted in copy&paste, seo, tips&tricks and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>