# Usefull 404

Web @ 27 January 2010

friendly url search 404

As I’ve changed CMS from etomite to wordpress, friendly url’s are changed a bit. Essentially  shortened URL and removed “.html” from the end.

But what to do  with old links? I had two options:

  1. Create redirects to updated URLs
  2. Make use of 404 error page

I’ve chosen 2nd option, as it is more elegant and requires a few work – more automation.

So, I was thinking: how can I redirect users comming from old URLs to new ones? And here I thought – if link is old one, I get 404. Here I can get that old link and redirect to a new one. Of course that idea is not new, so I’ve googled a bit and found ready made solution:  Adding Search results to Wordpress 404 pages

This is more better than moving automatically, because not all 404’s would be from old links and if someone mistypes address – he/she will get search results.

Leave a Reply

Spam protection by WP Captcha-Free