Suppose your page changes or your URI changes and you need to redirect users to a new page…
Meta Redirect is the WRONG way to do it! Yes it works, but it is not recommended by W3C.
According to W3C
“Some user agents support the use of META to refresh the current page after a specified number of seconds, with the option of replacing it by a different URI. Authors should not use this technique to forward users to different pages, as this makes the page inaccessible to some users. Instead, automatic page forwarding should be done using server-side redirects”
You can read more on this here: http://www.w3.org/TR/html4/struct/global.html#adef-http-equiv.
There are far better and more search engine friendly ways of redirecting old URLs to new sites – Meta redirects are not one of them!
March 12th, 2010 at 4:37 am
C’est tres bon! Kudos!
This is extremely useful, thank you for making my life a little bit easier…
now if you could automatically generate mySQL queries for me, I will let you have my wife, er… I mean EX-wife.
Nice job!