This article should be extended soon, but in the meantime, we thought this article Mark S. Kolich couldn’t be missed if you’re having issues with HTTP 301 permanent redirect configurations. http://mark.koli.ch/set-cache-control-and-expires-headers-on-a-redirect-with-mod-rewrite An interesting discussion was also going on in the comments section of this article: http://getluky.net/2010/12/14/301-redirects-cannot-be-undon/ (look for Dominick’s first comment).
A few links to setup 301 Permanent Redirect (302 follows the same logic but is for Temporary Redirect) in Apache: http://www.askdavetaylor.com/how_do_i_add_a_301_redirect_to_my_apache_httpdconf.html http://www.webconfs.com/how-to-redirect-a-webpage.php http://www.stepforth.com/resources/web-marketing-knowledgebase/non-www-redirect One thing worth attention is the SEO-friendly redirection of non-www traffic to www. This means that if you load, say, http://example.com, you will be redirected to http://www.example.com. This avoids having two different […]