I accidentally discovered a super-cool re-direction feature embedded in WordPress 2.3.x.我不小心发现了一个超级酷的转口功能,嵌入式方向,在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.例如blog.taragana.com也可能访问作为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.以前,你不得不修改。 htaccess的或httpd.conf中来完成它。 With version 2.3.1 and above, WordPress itself redirects (permanent redirect) all non-canonical URL to the single canonical URL for the site.与版本2.3.1及以上,在WordPress本身重定向(永久重定向)的所有非正规的URL单一的典型网址为的网站。

The upside is that you don’t need to mess around with .htaccess or httpd.conf.好处是您不需要一塌糊涂左右。 htaccess的或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.坏处是, WordPress所使用的PHP为基础的办法,这是潜在的慢。 htaccess的或httpd.conf中的办法。 Nevertheless it should be a boon for novice bloggers.不过,这应该是一个福音新手博客。