Cool SEO Redirection Feature in WordPress 2.3.xBy Angsuman Chakraborty, Gaea News Network
Wednesday, February 6, 2008
I accidentally discovered a super-cool re-direction feature embedded in WordPress 2.3.x. Any blog may have multiple url pointing to the same blog. For example blog.taragana.com may also be accessed as www.blog.taragana.com. The proper practice, keeping SEO in mind, is to redirect all such URL to the canonical URL of the site. Now there is a simple way to achieve this.
Previously you had to modify .htaccess or httpd.conf to accomplish it. With version 2.3.1 and above, WordPress itself redirects (permanent redirect) all non-canonical URL to the single canonical URL for the site.
The upside is that you don’t need to mess around with .htaccess or httpd.conf. A slight mistake in either of them can bring down your site or mess it up completely.
The downside is that WordPress uses a PHP based approach which is potentially slower than .htaccess or httpd.conf approaches. Nevertheless it should be a boon for novice bloggers.