WordPress users – sharpen your URLs with Google!
Update: October 1, 2009
This article is from january 2006. In new versions of WordPress all the things in this article is being taken care of automatically. DO NOT USE IT ANYMORE.
First of all you must enable the permalinks, but that you probably already have done.
Now to the point. Did you know that these are all different URLs for the same blog post?
http://www.myblog.com/my-blog-post
http://www.myblog.com/my-blog-post/
http://myblog.com/my-blog-post
http://myblog.com/my-blog-post/
Google sees this as 4 different URLs and 4 different pages when in fact it is only one. One of them will rank higher in Google than the rest. This is called canonicalization problem and is discussed by a Google staff here.
Let’s say you get a nice link to http://www.myblog.com/my-blog-post but in fact it is http://www.myblog.com/my-blog-post/ that ranks higher. This link is useless in terms of ranking!
The solution to get all 4 versions made into only one and to have all weight/power transferred to that one
Add the following lines in the .htaccess file before the WordPress permalinks lines:
Options +Indexes
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^myblog\.com
RewriteRule ^(.*)$ http://www.myblog.com/$1 [R=permanent,L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://www.myblog.com/$1/ [L,R=301]
That will make all posts go to this version: http://www.myblog.com/my-blog-post/
Just replace myblog before you add it and don’t forget to still include the WordPress permalinks section in the .htaccess file.
Let me know any feedback, ideas, comments etc.
Update, November 28 2006
If this does not work or you use the non-www version for your blog you should use the solution provided by Christer Edwards on the comment here.

Jim Westergren is a web entrepreneur from Sweden now living in Bolivia. He is happily married and has two lovely children. Some of his interests are web development, SEO and writing. He is the Founder and CTO of
Pingback: SEO Professional? SEO subjects you need to know
Pingback: Sökmotoroptimering för Wordpress
Pingback: Success with SEO for WordPress
Pingback: SEO Plugins for Wordpress 2007
Pingback: Thoreplass.Net “IT-Blogg” » Blog Archive » WordPress users - sharpen your URLs with Google!
Pingback: SEO Friendly URLs in WordPress | Simon Shull-Foust
Pingback: SEO for WordPress - The Complete Guide - Business Online Blog
Pingback: Wordpress: evita el contenido duplicado en Google « Liamngls
Pingback: Caminante » SEO para WordPress
Pingback: Ultimate Wordpress SEO Guide
Pingback: WordPressçš„SEOæŠ€å·§å®Œå…¨æŒ‡å— at catch the digital flow
Pingback: MrHoang Blog » SEO for WordPress - The Complete Guide
Pingback: WordPress SEO Tips Tricks and Plugins
Pingback: Search Engine Friendly Wordpress
Pingback: Gabfire » Top 4 SEO mistakes of bloggers
Pingback: Top 4 SEO mistakes of bloggers
Pingback: Optimizing Content: Empowering your content’s value online, 14 things you thought you knew but never bothered to do. : Adventures in Online Marketing
Pingback: gabfire themes » Blog Archive » Top 4 SEO mistakes of bloggers
Pingback: Make Cash Online Blog » Blog Archive » Dealing with wordpress canonicalization problem
Pingback: .htaccess i linki w Wordpressie
Pingback: SEO Tips for WordPress - The Complete Guide | Wordpress Expert
Pingback: My WordPress Post-installation Check List | StyleWired
Pingback: technoklutz.com » Blog Archive » Not sure what canonicalization is?
Pingback: Hacks to boost your WordPress 2.7 blog
Pingback: SEO for WordPress – The Complete Guide « Social Media Greece
Pingback: Discover 10 articles that can be really helpful in your SEO work & web dev « my a.m. design
Pingback: SEO para wordpress « Seo para wordpress