301 redirects are one of the best ways to inform search engines that your URLs have changed. They’re simple to implement, so you should have no reason not to use them.
headers["Status"] = "301 Moved Permanently"<br>redirect_to "/"<br>
Done.
Tags: 301, rails, seo
This entry was posted on Thursday, February 7th, 2008 at 6:52 pm and is filed under ruby on rails.
You can follow any comments to this entry through the RSS 2.0 feed.
You can leave a comment, or trackback from your own site.