Posts Tagged ‘Custom 404’

The ludicrous case of the lost links

January 21st, 2010

Do you ever visit web sites only to find that the page you wanted is missing? It happens when web masters (web slaves – or whatever you want to call them) either move a page so the site is less cluttered or because a page is now so out of date that a new one is required. If you change from a static site to a dynamic site (html to php or something) then you will inevitably mess up every link that existed prior to the change. Sometimes, of course, the link was never right in the first place.

So there are a couple of things it is wise to do to avoid such problems:

1) Be careful with your links and do your best to make sure they work – perhaps have a rolling program of checking your links (there is software that will do this and if you sign up for Google webmaster tools you get a report on duff links but my experience is that they are never perfect).

2) Set up a special 404 page. You can see the one I have made for this web site here (opens in new window). It is just a very simple page and you could put in a lot more detail (make sure you use absolute URLs though – e.g. full web address to any images etc. There are various ways of setting your site to use these pages and most good hosting companies will have a way to enable this to happen. Here is a way to do it if you are looking for the technical stuff (opens in new window).

So, there are ways around the problem and it pays to put in that little bit of extra effort to help your visitors.

Thoughts , , , , ,