WordPress 2.3: Canonical URLs
Canonical URLs is one of the features that I worked on for WordPress 2.3 It’s sort of a geeky concept, but the end result has benefits that a non-geek can appreciate, so I’m going to break it down for you.
WordPress has traditionally been very lenient in the URLs that it will accept.
For instance, say your blog is hosted on http://www.example.com/blog/.
You can likely access the front page of your blog via these alternative URLs:
- http://example.com/blog/
- http://www.example.com/blog/index.php/
- http://example.com/blog/index.php/
- http://www.example.com/blog/?paged=1
- http://example.com/blog/?paged=1
- http://www.example.com/blog/page/1/
- http://example.com/blog/page/1/
And those are just the “sane” ones. Try this one on for size:
- http://www.example.com/index.php/////page/1///////?paged=1
That’s the front page. We have additional issues for other views. For example, consider if you are using “fancy” permalinks and have a post up at http://www.example.com/blog/2007/09/17/dont-tase-me-bro/ with a post ID of 17. The following alternative URLs will work:
- http://www.example.com/blog/2007/09/17/dont-tase-me-bro
- http://example.com/blog/2007/09/17/dont-tase-me-bro/
- http://example.com/blog/2007/09/17/dont-tase-me-bro
- http://www.example.com/blog/index.php/2007/09/17/dont-tase-me-bro/
- http://www.example.com/blog/index.php/2007/09/17/dont-tase-me-bro
- http://example.com/blog/index.php/2007/09/17/dont-tase-me-bro/
- http://example.com/blog/index.php/2007/09/17/dont-tase-me-bro
- http://www.example.com/blog/?p=17
- http://example.com/blog/?p=17
- http://www.example.com/blog/index.php?p=17
- http://example.com/blog/index.php?p=17
The following issues comprise the majority of incorrect alternative WordPress URLs.
- Old URL structure when using “fancy” permalinks
- <www.example.com vs. example.com
- “Fancy” permalinks with /index.php/ (called “PATH_INFO permalinks”) vs “fancy” permalinks without (”mod_rewrite permalinks”)
- URLs with trailing slashes vs. URLs without trailing slashes
- /page/1/ (always redundant)
- ?paged=4 vs. /page/4/
So, what’s the problem with this? The URLs are all showing the exact same content, so why should it matter? Well, search engines can’t assume that all of these alternative URLs represent the same resource. So they don’t automatically get condensed into a single resource. As a result, you can actually end up competing against yourself in search engine rankings. So to avoid confusing search engines and to consolidate your rankings for your content, there should only be one URL for a resource. We call this URL the canonical URL. Canonical means “standard” or “authoritative.” It’s the one that WordPress generates, and it’s the one that you want everyone to use.
Since version 2.2, WordPress-generated rules have been very well standardized. I personally invested a lot of time making sure things like trailing slashes were consistently standardized. So that’s one piece of the puzzle — making sure that WordPress isn’t working against you by generating non-canonical URLs. But of course, you can’t control who links to you, and third parties can make errors when typing or copy-pasting your URLs. This canonical URL degeneration has a way of propogating. That is, Site A links to your site using a non-canonical URL. Then Site B see’s Site A’s link, and copy-pastes it into their blog. If you allow a non-canonical URL to stay in the address bar, people will use it. That usage is detrimental to your search engine ranking, and damages the web of links that makes up the Web. By redirecting to the canonical URL, we can help stop these errors from propagating, and at least generate 301 redirects for the errors that people may make when linking to your blog.
My goal for WordPress 2.3 was to cover the majority of canonical URL issues that people have and make WordPress automatically redirect those requests to the correct (canonical) URL for that resource. Early tries at this functionality had issues with being too aggressive. I rewrote the functionality multiple times, until I settled upon the current incarnation. I’m quite happy with it.
Ideally, you shouldn’t even be aware of the feature. You might have issues, however, if you have enabled your own form of canonical URL redirection that isn’t redirecting the the URLs that WordPress thinks are the canonical version. For instance, if your blog is http://www.example.com/blog/ but you have a line in your .htaccess that redirects people to http://example.com/blog/, you’re not going to be able to access your site, as the two redirects will “fight” each other in an infinite loop until the browser gives up. You’ll also have issues if your server is generating a non-standard $_SERVER['REQUEST_URI'] value. For this reason, the feature has been disabled for IIS. WordPress can set a correct $_SERVER['REQUEST_URI'] for some IIS incarnations, but fails on others. This is an issue that I hope we’re able to fix in the future. That said, the vast majority of WordPress blogs are not running on IIS, so you’ll likely be fine.
If you’re having issues with infinite redirects, please open a ticket. And in the meantime, you can use this one-line plugin to disable the feature.

Cool stuff. Your work will be appreciated on my blog. As soon as I finish catching up on post-vacation news, and install 2.3
Daniel Jalkut
September 25, 2007 at 1:27 am
[...] Mejor tratamiento de las URLS, dependiendo de la configuración de los permalinks ahora WordPress revisará si la URL termina en / o incluso si está incompleta WordPress buscará el post que más se le parezca, si lo hay. Mark ha explicado mejor el tema de las URLs canónicas en WordPress 2.3 [...]
Wordpress 2.3 liberado, ¡beware! « Javier Aroche @ Wordpress
September 25, 2007 at 3:32 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress › Blog » WordPress 2.3
September 25, 2007 at 9:44 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 released | Thomas De Maesschalck's blog
September 25, 2007 at 10:53 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 "Dexter" is Here ! | dailyApps
September 25, 2007 at 11:12 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 Ready for The World | Bibi Liew Dot Com
September 25, 2007 at 11:28 am
[...] url-оптимізація і “розумне” перенаправлення. [...]
minus-one » Wordpress 2.3
September 25, 2007 at 11:35 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
New WordPress Features Released by Blogging Experiment
September 25, 2007 at 12:10 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 ist da - auch in der DE-Version - Sebamueller.net
September 25, 2007 at 12:22 pm
This used to be the case in Beta, but not in 2.3 official release.
Michael
September 25, 2007 at 1:19 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Dexter for Wordpress 2.3
September 25, 2007 at 1:52 pm
[...] quem é muito “geek” segundo os próprios desenvolvedores, pois eu nunca vou estudar a coisa toda a ponto de usar [...]
Portal WordPress » Blog Archive » WordPress versão 2.3
September 25, 2007 at 1:53 pm
Ah, finally, a way to force people to drop the ‘www.’ in the URL. For the sake of consistent cookie-ing, at the very least. Much ta
mg
September 25, 2007 at 2:39 pm
[...] It enforce your no-www preference and it redirect posts with changed slugs the new post so say goodbye to "page not found error". And this makes your blog search engine friendly. [...]
Finally WordPress 2.3 Is Out Of Beta | Minterest
September 25, 2007 at 2:53 pm
Trust me, Michael — you don’t want an
.htaccessrule that counteracts WordPress redirects. Neither rule is aware of the other, and they will bounce the user back and forth between them until the browser gives up.Mark Jaquith
September 25, 2007 at 3:08 pm
Great work, “one small step for seo, one giant leap for wpkind”
thanks
soverato
September 25, 2007 at 3:48 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 has been released - DigitalORDER
September 25, 2007 at 3:50 pm
Fascinating stuff
Geeks make the world a better place
Irving
September 25, 2007 at 4:08 pm
[...] WordPress 2.3: Canonical URLs « Mark on WordPress «Ideally, you shouldn’t even be aware of the feature. You might have issues, however, if you have enabled your own form of canonical URL redirection that isn’t redirecting the the URLs that WordPress thinks are the canonical version.» (tags: wordpress blog canonical canonical.php 2.3) [...]
links for 2007-09-25 < Logg for Aslak Raanes
September 25, 2007 at 5:19 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
SecondVersion.com - WordPress 2.3 is here!
September 25, 2007 at 6:08 pm
[...] optimization, as search engines like for each page to be available in one canonical location. More info here. 4. Their new pending review feature will be great for multi-author blogs. It allows authors to [...]
Bloggishi » 800% faster: Wordpress 2.3
September 25, 2007 at 6:16 pm
[...] WordPress was released last night. New features include support for tagging, update notification, Canonical URLs, pending review for multi-author blogs and a new advanced WYSIWYG. Here’s more information on [...]
WordPress 2.3 Released, Includes Support For Tagging | Laughing Squid
September 25, 2007 at 6:19 pm
[...] Canonical URLs – will allow you to change slugs of any post and have WordPress automatically redirect old slug URL to the new URL of your post. Brilliant idea, great for SEO! Mark Jaquith has a great post explaining how it all works: Canonical URLs in WordPress 2.3 [...]
WordPress 2.3 is released! | Perfect Blogger
September 25, 2007 at 6:21 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 is out ! | The Voyager
September 25, 2007 at 7:08 pm
nice…..
Chuck
September 25, 2007 at 7:32 pm
[...] version 2.2.3 but it’s finally on. The problems I had were caused by one of the new features: canonical URLs. Basically, what it does is to make sure that no matter how you access certain content you’ll [...]
Londoners’ Life» Blog Archive » Upgrade to Wordpress 2.3
September 25, 2007 at 7:56 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 Dexter Released | BlogOnExpo
September 25, 2007 at 8:33 pm
[...] WordPress 2.3 gained a Canonical Url feature. This doesn’t affect the method I used to change the Page Permalinks, but it does redirect [...]
VerseLogic » Blog Archive » Wordpress Spread Over Multiple Domains
September 25, 2007 at 10:15 pm
I’m rewriting my Page permalinks using the ‘page_link’ filter, so they appear on a different domain.
If is_page(), filtering ‘option_home’ lets me change the Page permalinks your code generates, so they match the ones I craft via ‘page_link’, thus enforcing my desired canonically.
Nice stuff Mark!
Alan J Castonguay
September 25, 2007 at 10:16 pm
Amazing change in the way urls are handled!
way to go WP
Tarek
September 25, 2007 at 11:25 pm
Ok, I think I may be in trouble…
My website is http://germworks.net/blog/ (were the blog is located) however I have a www direct plugin which directs people to http://germworks.net incase they type in the www. Is this ok???
Jermayn Parker
September 26, 2007 at 12:19 am
[...] one of the lead developers, explained it in detail on his blog in a post titled simply enough, WordPress 2.3: Canonical URLs. I do like this, since it can only help me in the search engine wars. And since I can deactivate a [...]
Fuzzy Thoughts » Blog Archive » WordPress 2.3
September 26, 2007 at 12:23 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Alan & Angela’s 部落格 » Blog Archive » WordPress 2.3 【Dexter】釋出
September 26, 2007 at 3:43 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 Released » Sandossu
September 26, 2007 at 3:44 am
[...] Management – Pending Review – Advanced Visual Editor Buttons – Pretty URLs, WWW / no-WWW see also WordPress 2.3: Canonical URLs – Cleaning up of bad URLs – Updated Default Blogroll – Full and complete Atom 1.0 support, [...]
Rxbbx Blog WordPress 2.3
September 26, 2007 at 3:46 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress 2.3 is out! | Free Cash Quest
September 26, 2007 at 3:58 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
fo0bar.org infosystems » Version: Wordpress 2.3
September 26, 2007 at 4:37 am
[...] 3. Conical URLs. That means that you can choose to enforce non-www or www preferences, redirect changed slug posts (bye 404). This is a excellent feature, it will improve blogs SEO rankings by a bundle. You can read more about conical URLs here. [...]
Wordpress 2.3: what's new and discussions - Lost Art Of Blogging
September 26, 2007 at 6:49 am
http://www.example.com/blog/index.php/2007/09/17/dont-tase-me-bro/
Wow, it seems like an Expression Engine URL’s style to me. Quite tricky, but I appreciatively it great.
AM Putra
September 26, 2007 at 7:14 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
My Family Loves It » Cross your fingers...
September 26, 2007 at 9:50 am
[...] Canonical URLs ทำให้รองรับรูปแบบของ URL ที่ยืดหยุ่นมากขึ้น (อ่านรายละเอียดเพิ่มเติม) [...]
My.diary.in.th » WordPress 2.3 มาแล้ว
September 26, 2007 at 1:42 pm
[...] Canonical URLs Great New Features in WordPress 2.3 10 Things You Need to Know About WordPress [...]
WordPress 2.3 Officially Released : Average Joe Blogger
September 26, 2007 at 3:11 pm
[...] Canonical URLs in WordPress 2.3 [...]
Joe Levi: Greener Living thru Technology » Blog Archive » WordPress 2.3
September 26, 2007 at 4:32 pm
I’ve never truly understood the difference between using the www. and not using it,.. some places it doesn’t matter some places it does,… you are trying to break it down , thank you, it still sounds like technospeak,…lol
edtajchman
September 26, 2007 at 4:45 pm
Mark, I just found out why wordpress didn’t bounce me back and forth even if I have rewrite rules to remove www prefix from my domain. I put the codes in server config instead of .htaccess. I guess that’s the reason.
Michael
September 26, 2007 at 5:17 pm
[...] ADDING: Beware of WordPress 2.3’s new Canonical URL feature. It’s a great feature, long overdue, but if you have redirects in .htaccess, you can possibly create a redirect loop. Lots of info on this feature can be found at Mark on WordPress. [...]
Mike’s WordPress Plugins » Blog Archive » Blank Pages When Posting Comments in WordPress?
September 26, 2007 at 9:33 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress Wednesday - “Dexter” | BlissLogs
September 26, 2007 at 9:51 pm
[...] WordPress 2.3: Canonical URLs « Mark on WordPress ahhh, so this is what Canonical URLs mean… [...]
Daily misery - Alvin Woon’s web home » Blog Archive » Links for 9.21.2007 through 9.26.2007
September 26, 2007 at 10:24 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Version 2.3 “Dexter” of WordPress | MIX J
September 26, 2007 at 11:41 pm
[...] URI’s are issues of the past now that WP 2.3 has been released, Mark Jaquith has presented an article about WP URI’s that could access your site, and WP 2.3 has eliminated them. Hopefully all [...]
The Release of Dexter (WP2.3) : WP Thoughts
September 27, 2007 at 7:35 am
[...] It freaks me out how fast memes propogate through the internets. When learning about the new features in WordPress 2.3 I stumbled upon an entirely unexpected DTMB reference here. [...]
Jason Butler 42 » Blog Archive » Meme propogation
September 27, 2007 at 4:39 pm
[...] WordPress 2.3: Canonical URLs « Mark on WordPress : My goal for WordPress 2.3 was to cover the majority of canonical URL issues that people have and make WordPress automatically redirect those requests to the correct (canonical) URL for that resource. Early tries at this functionality had issues with being too aggressive. I rewrote the functionality multiple times, until I settled upon the current incarnation. I’m quite happy with it. [...]
A Frog in the Valley » Nice and Cool URLs in WordPress
September 27, 2007 at 4:40 pm
[...] To find out more about Canonical URLs i suggest a reading of Mark’s Blog. [...]
Canonical URLs in WordPress 2.3 at WordPress Themes, Plugins, Blog Tips, Make Money Online >> WPthemesplugin.com
September 27, 2007 at 5:19 pm
[...] WordPress 2.3: Canonical URLs « Mark on WordPress A detailed explanation of the WordPress 2.3 implementation of resolving to a single canonical URL. (tags: wordpress seo url blogging) [...]
Infovore » links for 2007-09-27
September 27, 2007 at 7:55 pm
[...] WordPress has finally helped out with search engine optimization by including a feature called canonical URLs which allows users to enforce preferences such as no www URLs. This feature will also allow [...]
Wordpress 2.3 released - Bullroarer
September 27, 2007 at 9:47 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
caerma's blog » WordPress 2.3
September 27, 2007 at 10:29 pm
oh Mark.
how i thank you for this. thank you!
Jack
September 28, 2007 at 3:28 am
[...] man nun mit der neuesten WP-Version abzustellen. Mark Jaquith erklärt als Mitentwickler, was es damit auf sich hat und wie man es umgestellt hat. Er muss es wissen, hat er die Prozedur doch selbst [...]
Basic Thinking Blog | Wordpress 2.3 und Canonical URLs
September 28, 2007 at 7:16 am
Does this make the enforce-www-preference plugin redundant?
Sam
September 28, 2007 at 8:05 am
What’s with two different WP-Installation under the same domain? I had the problem where a new 2.3 installation (23.domain.tld) “overwrote” an old 2.2 installation (domain.tld).
Martin Hiegl
September 28, 2007 at 8:45 am
not bad at all…will experiment with it
resist
September 28, 2007 at 9:12 am
[...] pm by propaganda press in WordPress Canonical URLs is one of the features that I worked on for WordPress 2.3 It’s sort of a geeky concept, but the [...]
propaganda press! » WordPress 2.3: Canonical URLs
September 28, 2007 at 9:13 am
[...] ausführlicher wird das Problem von Mark im WordPress-Blog erklärt. Er muss es wissen, denn dieses Modul in WordPress stammt von ihm. Hat Dir der [...]
Wordpress kann nun mit canonischen URLs umgehen | neunzehn72
September 28, 2007 at 11:49 am
[...] here, where many had linked to it, to over here, where people have also linked to it. Can you say canonical links? I’ll hopefully be able to upgrade to WordPress 2.3 in due course. For now, if you are a [...]
WOWNDADI - Productivity and Communication for Leaders » How to Deal with Being Overwhelmed at Work
September 28, 2007 at 12:54 pm
Nice Site!
grzzap
September 28, 2007 at 1:26 pm
[...] to Mark Jaquith, an official contributing developer to the WordPress project: My goal for WordPress 2.3 was to [...]
WordPress 2.3 Dexter - Canonical URLs? | SEOdisco
September 28, 2007 at 3:45 pm
[...] man sich dagegen wehren kann, weis der Nachtwächter. Weitere Probleme habe ich mit den neuen Canonical URL Redirects die hinter einem Loadbalancer zu endlos-Redirects führten. Mit dem offiziellem Plugin zum [...]
Lars-Schenk.com » WordPress 2.3 Probleme mit Canonical URL Redirect und Datenschutz
September 28, 2007 at 6:46 pm
[...] Canonical URLs – They have cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress - Version 2.3 is out. Grab it ! | Samir's blog
September 28, 2007 at 9:54 pm
[...] Ser vi på det rent SEO-mæssigt, er der også sket ændringer hvad angår url-håndteringen. Der sørges nu for at urls med og uden www lander samme sted (har tidligere kunnet opnåes med plugin’et no-www.), så man undgår duplicate content ved at have to url-adresser der peger på samme indhold. Læs mere på siden for faciliteten “kanoniske urls“. [...]
Wordpress-opdatering med store ændringer - Weblog fra Moskjær Marketing - Søgemaskineoptimering (SEO), Google Adwords, weblogs og markedsføring på Internettet
September 29, 2007 at 4:05 am
[...] If you want to know more about what is Canonical Urls, especially on wordpress. there is no where else better then on Mark page it self. go read it here. [...]
Blogger Templates | Problem on Upgrading to Wordpress 2.3
September 29, 2007 at 5:52 am
My current host interfere’s with my permalinks, will 2.3 help with that?
I have http://example.com/index.php/117/postname.html as the permalinks and they get a 404 unless you visit the hompage first. They won’t say what they are doing that is blocking them only that permalinks won’t work right on their server.
damnprinter
September 29, 2007 at 7:47 am
Well I found out that wordpress 2.3 won’t fox permalinks on a webhost that interferes with them.
damnprinter
September 29, 2007 at 8:34 am
Cool! I was actually looking at adding something to my .htaccess when 2.3 was released because of issues with AJAX and having the leading www (vs not having). Works great!
copperleaf
September 29, 2007 at 11:23 am
Thank you.
imagiscape
September 30, 2007 at 12:42 pm
Oh man, you really helped me out! I was frustatedly sitting in front of my computer wondering why things doesn’t work as usual after I upgraded to version 2.3.
Thank you very much, very useful plugin!
Greetings from Germany
Daniel
September 30, 2007 at 1:25 pm
Dj Aldo
September 30, 2007 at 2:44 pm
I love you, this is just lovely. I mean it’s just pure loveliness. It’s this kind of polish that make all the alternatives to WordPress pale into miserable insignificance.
Mark Kenny
September 30, 2007 at 5:42 pm
[...] Jaquith of Mark on WordPress discusses WordPress 2.3 Canonical URLs and the problems they may [...]
Deacon’s Blog » WordPress update
September 30, 2007 at 11:38 pm
Yes. It incorporates that functionality.
Mark Jaquith
October 1, 2007 at 1:40 pm
Thanks for the plugin. Fixes a problem with Yahoo hosted sites.
More details here: http://wordpress.org/support/topic/135725?replies=5
Wayne
October 1, 2007 at 4:01 pm
[...] from the tidying up of URLs used to access posts, Canonical URLs. The author of these changes Mark Jaquith blogs the background to these changes and makes a good case for them. The first problem is that http://www.motiveauto.com/page/1 is no longer a [...]
Adrian’s Blog » Wordpress 2.3 - Canonical URLs and "/page/1"
October 1, 2007 at 6:21 pm
Awesome stuff this. Thanks!
Colin Helvensteijn
October 2, 2007 at 4:34 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Wordpress v 2.3 | Udeen DotCom
October 2, 2007 at 12:07 pm
[...] Canonical URLs are also supported in WordPress 2.3 – a significant improvement. [...]
Upgrading to WordPress 2.3 - tips and considerations
October 3, 2007 at 1:39 pm
These built in redirects…are they supposed to be 302 redirects?
And if so, is there anyway to change them to be 301 redirects?
Rehan Asif
October 3, 2007 at 2:46 pm
[...] There is now the update to WordPress 2.3 avaiable. For me the most interesting new things are canonical URLs, update notification of new releases of WordPress or of plugins that are used and native tagging [...]
» Blog Archive » Now running WordPress 2.3 portenkirchner.net
October 4, 2007 at 1:53 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
New Underpinnings
October 4, 2007 at 11:31 am
[...] I’ve been playing around with Habari, and so far I’ve tested the install on three different machines. One of Habari’s requirements is Apache’s mod_rewrite, which allows URLs from a client to be rewritten on the server. This means that a browser can request a pretty URL, such as http://www.example.com/habari/really-interesting-post and it will be redirected on the server to a script that returns the post with the slug really-interesting-post. Mark Jaquith has written a good article about this in relation to WordPress. [...]
echo “hey, it works” > /dev/null » Habari and mod_rewrite
October 4, 2007 at 9:16 pm
I’m not sure if this is the cause of my problem. I had set up a subdomain earthcomm.mysciencespace.com and pointed it to mysciencespace.com/wordpress As soon as I up graded to 2.3 the subdomain redirected to the root domain instead of the wordpress directory.
What can I do to fix this?
Roger
October 4, 2007 at 10:44 pm
[...] URL Canoniche sono supportate in questa [...]
Aggiornamento al WordPress 2.3
October 5, 2007 at 2:58 am
Thank you very much for sharing…
This is nice article for sharing to other netter…
http://www.puthzel.com
Thanks…
Puthzel.com
October 5, 2007 at 5:48 am
[...] mit http://www.irgend.wo, so wird ein Aufruf von irgend.wo automatisch auf http://www.irgend.wo umgeleitet. Unter WordPress 2.3: Canonical URLs werden Details und weitere Features [...]
Über das neue WordPress 2.3 — Software Guide
October 6, 2007 at 8:07 pm
[...] 「標準URL(カノニカルURL)」と名付けたシステムにて、URLまわりをすっきりさせました。これにより、WWW がドメイン名の頭につかないよう強制的に変更したり、記事スラッグが変更された記事の古いURLをリダイレクトしてリンク切れをなくすようにしたり、メール内の途中で途切れたURLを、似たURLへリダイレクトしたりするなどの機能が追加されました。これらの機能は、ユーザーが迷ってしまうことを防ぐだけでけではなく、各記事に「標準URL」を割り当てることにより、検索エンジン最適化にも役立ちます。さらに詳しい情報は、こちらにて。 [...]
WordPress | 日本 » WordPress 2.3
October 7, 2007 at 2:52 am
Wow, this is purely awesome, great work. This is something that should be more prominently featured and announced by WordPress, as it may dramatically mess with people who had modded .htaccess and were getting infinite loops, being forced to use default to old url structure and losing incoming links in the process.
Wakefield
October 7, 2007 at 7:36 am
[...] – Preparing for 2.3 WordPress 2.3 WordPress 2.3: Canonical URLs Upgrading to WordPress 2.3 Dexter Enhancing WordPress [...]
Famous last words of Marius » We will win the Rugby World Cup & RSS feed update - 7 October 2007
October 8, 2007 at 2:27 am
Mark or someone, should I delete this in my .htaccess file before I upgrade.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.org$ [NC]
RewriteRule ^(.*)$ http://www.example.org/$1 [R=301,L]
Let me know.
cyclepromo
October 9, 2007 at 12:54 am
[...] We鈥檝e cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3
October 10, 2007 at 1:55 am
[...] you’ve installed Mark’s plugin to disable canonical urls, deactivate it. This has been rolled into my plugin as [...]
Joelika » Blog Archive » Netfirms Pretty Permalinks Plugin for WordPress Release Extravaganza!
October 10, 2007 at 9:35 pm
[...] Enforce www. Preference I dropped the www NOTE: This plugin is now redundant with 2.3. [...]
Recent changes here at samdevol.com » Sam Devol
October 12, 2007 at 6:31 am
[...] Visit [...]
WordPress Plugins Database » Plugin Details » Disable Canonical URL Redirection
October 15, 2007 at 6:11 am
In earlier versions of WordPress, I used the Permalink Redirect plug-in (http://fucoder.com/code/permalink-redirect/). While the new WordPress feature makes this plug-in mostly obsolete, there’s one feature of Permalink Redirect that doesn’t seem to have made it to 2.3.
Specifically, you could enter your Old Permalink Structure, and have Permalink Redirect handle the situation where you had changed your permalink structure, i.e., pretty URLs from both the _old_ and the _new_ permalink structures would work.
(Yes, I know. “Don’t do that.
” But I needed to change the structure. Now I need to make sure the old links still work.)
More pressingly (for me), this feature of Permalink Redirect no longer works, probably because the way permalinks are built/handled has changed. Is there a new WordPress 2.3-friendly way to preserve an old permalink structure?
Alderete
October 16, 2007 at 11:49 pm
[...] a little bit of SEO. WordPress 2.3 is actually more SEO-friendly as it has a more robust system in canonicalizing URLs. The core code definitely has a lot to offer and being released in GPL is certainly deserving of a [...]
Gormful » Life After
October 17, 2007 at 1:36 pm
Hey Mark,
This is no doubt a great idea, but it kills the ability to make complex queries that skip permalinks. So while I usually want my category url to look like:
site.com/~/general/
I use a plugin to generate archive urls like:
site.com/?cat=2&m=200710
When I go to the second url it forwards me to the first and doesn’t filter it at all for dates.
If I give the normal pretty url for a category and append the m=200710 to it just forgets the category entirely and takes me to the month page.
I imagine similar problems with other variables passed in queries.
Is there a way to avoid this breaking while still using permalinks for normal pages?
It seems like you’d need either to add in exceptions for times when there are multiple variables being passed in the non-pretty method, or else make sure that all sane combinations of variables can be passed using complex pretty-urls like
site.com/~/general/2007/10
That one of course doesn’t work. Do you know a method to get categories and dates to coexist in a pretty url? Otherwise do you think that one or the other of my solutions is viable? We’ll have to turn off the filter for now, but i’d be happy to keep the other features without breaking multiple url variables.
jeremyclarke
October 17, 2007 at 8:12 pm
I was useful very much.
Thank you
Relax
October 20, 2007 at 4:17 pm
[...] В админке во вкладке Options – General проверяю Blog address (URL). Я придерживаюсь философии no-www, поэтому проверяю, чтобы в данном поле был введен адрес без www. Если речь идет о простом сайте или скрипте WordPress ниже версии 2.3, то я вручную в .htaccess прописываю 301-й редирект на адрес без www. С версии 2.3 WordPress отлично канонизирует все адреса. [...]
Блог unsimilar’а » Blog Archive » Первоначальная настройка блога на WordPress’е
October 21, 2007 at 6:22 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Paul Rohde » Wordpress Update Complete!
October 22, 2007 at 5:10 pm
[...] Canonical URLs [...]
EndOCrime.com » Blog Archive » Impressions of Wordpress 2.3
October 22, 2007 at 8:42 pm
[...] WordPress 2.3: Canonical URLs [...]
WordPress 2.3の新機能「カノニカルURL」 « detlog.org
October 24, 2007 at 9:29 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
OSC DEMO » Blog Archive » Test POST
October 24, 2007 at 4:29 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Web Entrepreneur - Make Money Online
October 27, 2007 at 9:55 am
good work
ForumViaggiare
October 28, 2007 at 3:51 am
[...] problem is due to the canonical redirection functionality, it redirects incorrect permalinks to their correct [...]
RogAnty - Blog - Fix for wordpress breaking mod_rewrite/friendly URLs
October 28, 2007 at 6:54 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
María Ángeles Durán » Post de prueba
October 29, 2007 at 1:46 pm
[...] along with update notifications for WordPress and plugins. Mark Jaquith has a great write up on his canonical URLs [...]
WordPress 2.3 | Joseph Scott's Blog
October 30, 2007 at 6:28 pm
[...] back into the URLs since most of my 404s are trying to get those pages. Weird since I thought canonical URLs were supposed to automatically redirect that stuff. Oh [...]
jasonbutler42 » Blog Archive » Updated Wordpress and changed permalink structure (again)
October 30, 2007 at 7:23 pm
I have just upgraded to wordpress 2.3.1.
Mahesh Mohan
October 31, 2007 at 6:15 pm
We have our site setup http://www.capitaplus.com using a old version of wordpress version 2.o and im afraid of updating because I might mess up the URL stucture. Can you please advice what I should do so i dont loose my search engine rankings? We buy invoices and our current rankings are very important.
Thanks
Gary Brooks
November 7, 2007 at 10:37 pm
Unfortunately I am one of those few WordPress people running WordPress on IIS (I’m using IIS 6).
I guess this excellent feature is not enabled for me. In which case I’m using the www-redirect plugin (located here: http://www.justinshattuck.com/wordpress-www-redirect-plugin/). Its probably not as robust and all encompassing as what you describe, but it’ll fix some of the basic ones which are most often the issue.
I know IIS is not the popular choice but I have to use it for business reasons. And i’ve learned quite a few tricks in how to get WordPress working for IIS 6 users.
If anyone needs help you can email me. You’ll find my email under the “About Ponder Place” section of my site (which is running off IIS6) http://www.ponderplace.com
Stephen
November 9, 2007 at 3:44 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 | The Dragons Den Gaming Site
November 10, 2007 at 4:22 am
thank you SOOO SOOO MUCH. You need a donate now button or something.
Thanks again. By the way, your name looks familiar. You’re an ARS guy, right?
portorikan
November 12, 2007 at 2:29 pm
I want to say thank you again. I almost want to cry.
portorikan
November 12, 2007 at 2:30 pm
[...] call it like that) can be fixed by disabling the canonical.php in your wp-includes forlder. Go to this page to check for Mark’s [...]
Pretty URL Wordpress Hack for Netfirms | Serial Blogr
November 14, 2007 at 5:12 am
[...] The blog software WordPress is just released in version 2.3. One of the new additions are a feature that can rescue and correct links when users accidentally follow a link in an email broken over 2 lines. Or following an old link that the blog author has renamed. We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
justaddwater.dk | Software Eliminates User Errors And Linkrot
November 18, 2007 at 12:32 pm
Thank you sir, you just saved me a very painful rollback.
Ruben
November 19, 2007 at 2:44 am
[...] if you are having any issues with it, the plugin can be found at the bottom of this post on the new canonical redirection. We have submitted a bug to the WordPress trac system, and will be disabling this redirection until [...]
TruthMedia » Blog Archive » WP 2.3 Canonical redirection issues
November 19, 2007 at 1:01 pm
This feature caused me to spend the last three of four hours trying to complete my upgrade to 2.3. I couldn’t get any of my permalinks to work and I couldn’t figure out why, so my whole website was unaccessible unless I changed the style of permalinks I use, thus ruining my traffic from anyone linking in. I almost gave up trying to pursue blogging as a career because this was to difficult for me to figure out. I’m glad there was that disable plugin. I just wish I had it with the upgrade so that I could have saved all the deleting and data loss that ensued. Yeesh. I can appreciate optimization. But when there’s a teeny 0.001% bug, please leave the disable fix in the download with the upgrade or something.
Stephen Joseph
November 29, 2007 at 4:41 am
This is a great feature for WP – thanks so much for working on it.
Alex (Indigo Clothing)
December 2, 2007 at 7:18 am
[...] con il ramo 2.3 di WordPress è stato inserito il supporto nativo al tagging, è stato sistemato il “problemino” degli URL (per il quale usavo il plugin Permalink Redirect), c’è un sistema di notifica per gli [...]
RebelSoft » WordPress 2.3.1
December 2, 2007 at 7:25 pm
Great stuff dude…:)
Manish Chauhan
December 5, 2007 at 1:06 am
Its really nice n informative article with a basic understanding of Canonical Optimization.Thanks buddy..:)
Manish Chauhan
December 5, 2007 at 1:08 am
Mind blowing article……….:)
Manish Chauhan
December 5, 2007 at 1:09 am
jagksgchjkxZ B BJZBHZKXBZK
Manish Chauhan
December 5, 2007 at 1:19 am
This plugin fixes the problem of the redirects, but it screws up my feedburner settings.
Julio
December 6, 2007 at 2:53 am
[...] plug-in does not work with wp 2.3.x because of the way the 2.3.x series handles canonical urls. mark has a plug-in that disables this method of handling [...]
yoga manila » Blog Archive » minor glitch gone
December 6, 2007 at 6:00 am
[...] Redirect (http://fucoder.com/code/permalink-redirect/) 0.8.1 (No longer necessary; built into core [...]
WordPress 2.3 compatiblity Plugins | Dreamer's Blog
December 6, 2007 at 7:23 pm
[...] WP discussion starts at 0:48. For an in-depth look at the canonical URL feature, check out my writeup of the feature. [...]
Matt Cutts praises WordPress SEO benefits « Mark on WordPress
December 7, 2007 at 6:17 pm
My host is Yahoo. Does this have to do with the all the problems I am having? I am using the Customizable Permalinks plugin from Yahoo, but when I activate it I cant get to the page the articles. I downloaded the “Disable Canonical URL Redirection” plugin and that fixes the problem. Activating that pluin creates other problems. Like messing up my connection to Feedburner. How can I fix this problem?
Julio
December 7, 2007 at 9:35 pm
if you need any thing like software,videos,music,lessons(any sort of lessons,formations)help for computer,any thing we can help you with it , so visit this website and tell us what you need we will find what you looking for thank you this is the link Clic here
djsito
December 9, 2007 at 11:23 am
[...] Kanonické URL, o kterých existuje jeden odborný článek, takže se tím nebudu dále [...]
Separatista » Vychází nový Wordpres 2.3 “Dexter” s integrovanými tagy
December 9, 2007 at 8:09 pm
Finally, someone takes this issue seriously!!
Hurrah!!
I have been writing about these bugs for about 4 or 5 years. Until now, every forum, blog, cart and CMS system has suffered from these issues.
It is nice to see it addressed and (as far as initial reports go) mainly fixed. I’ll be running some tests and I’ll file a bug report if I find any major holes still lurking.
g1smd
December 10, 2007 at 11:30 am
[...] urls. a trouble ticket has been submitted to yahoo! by a wp user and y! employee and mark has a post about it and a plug-in to disable the wp 2.3.x [...]
alanguilan dot com weblog » blog archive » yahoo permalinks plug-in
December 10, 2007 at 9:03 pm
[...] wrote a one-line plugin that works around the problem in a not-ideal solution, but it works. Here’s why the problem exists. I’m realizing that in order to maintain an effective blog, I will [...]
The Commandments of YHWH » Blog Archive » Getting Familiar
December 11, 2007 at 10:10 am
I don’t consider this a “feature”… we’ve been receiving complaints from our web hosting customers for the last two weeks and we have spent countless hours trying to figure out why many blogs stopped working.
It was all due to this… such altering features are not supposed to be enabled by default. There has to be a transition period with plenty of warnings for about a year or two, then enable it by default.
Sort of the same way as when the PHP team decided to turn register_globals off…
Peter
December 12, 2007 at 6:22 pm
Mark,
Your plugin fixes the issue of redirects, but kills my feed to feedburner and my BuzzBoost stops working. How can I fix this?
Thanks!
Julio
December 14, 2007 at 6:15 pm
[...] redirects Nå som jeg har flyttet siden og gjort om endel så kommer WordPress sin “Canonical URLs” funksjon til sin fulle [...]
WordPress’ fantastiske redirects · Fru W.
December 21, 2007 at 6:16 am
It is very nice to see that someone takes this issue seriously!!
nowe samochody
December 26, 2007 at 9:36 am
I can’t open a trac ticket without admin privileges, but we’re having this exact issue — infinite recursion in redirects. I tried adding a functions.php file with the code for the plugin, which works on our development server but not in production.
How do I get privs to open a trac ticket?
And I sort of agree with the above poster who said that such changes in upgrade should be better advertised, or at least opt-in for the first revision.
Kevin Cooke
December 26, 2007 at 9:33 pm
I’m so glad I finally found this. I was using yahoo’s customizable permalinks plugin, and when I upgraded wordpress my website completely broke down. none of the page links worked. I used the plugin you have listed and it appears to be working now.
sara
January 2, 2008 at 3:55 pm
[...] a pretty annoying issue with every single page redirecting to itself. It turned out that this was a feature, not a bug. I deployed the one-line plugin and the infinite loops stopped. This needs to be fixed [...]
inportb » Blog Archive » Time to Upgrade
January 3, 2008 at 10:32 pm
Goodness… I spent hours on this issue, but your plugin fixed it in a jiffy! I don’t have .htaccess or anything… and my WP is hosted on a Debian box, so I doubt that it’s running on IIS. So what could have gone wrong and is there a real fix?
inportb
January 3, 2008 at 10:36 pm
THANK YOU Mark!
Paul
January 4, 2008 at 1:26 pm
I think the duplicate content issue is a lot of hype. You still get in the search engines whether it’s duplicate content or not. The way you differentiate yourself from the pack is using your own text on other pages. As far as competing with yourself I don’t see how that happens the hits/visitors all go to your site so I don’t see that as being possible.
Site Indexed
January 5, 2008 at 12:16 am
Thanks so much for this. I finally switched over to using custom permalinks after almost one and a half years of posts and it was a completely painless process.
Peter
January 6, 2008 at 11:08 pm
that’s right – no “www” on that url
Thanks for the plugin. I use my WP site as an OpenID and have a link rel=’openid.delegate’ pointing to myopenid.com (an OpenID service). That new WP URL canonicalization “feature” essentially locked me out of all my accounts (all the ones that used OpenID authentication).
Thanks again!
Bill Burcham
January 7, 2008 at 11:50 am
[...] solution is this nifty one-line disable canonical redirects plugin from Mark Jaquith. Simply drop that in your WP plugins and enable it and you’ll no longer suffer URL [...]
Bill Burcham’s memeRocket :: WordPress 2.3 Messes Up Your OpenID Delegation
January 7, 2008 at 12:11 pm
My current blog has over 500 PR4, PR3 and PR2 pages with my permalink beeing
/%category%/%postname%/
Because of Google News I have to change it into
/%category%/%month%/%day%/%postname%/
Will I loose all my pageranks or does the Canonical URLs automaticly redirect google to the new pages so I won’t loose pagerank on the next update?
jan
January 9, 2008 at 4:30 pm
[...] is heady. However, Mark at WordPress can shed some light on the technical aspects in his post on canonical urls. If I can attempt to restate the purpose of canonical urls, I would say that it attempts to redirect [...]
Blog Band Aids - Fixing Broken Links After WordPress Uprade! | NOIRLECROI.COM
January 13, 2008 at 6:24 pm
With the proliferation of blogs and other websites and then different tools that don’t necessairly operate consistently it is highly likely that there will be duplicates and concatenated content and links. It would be useful to have a consistent practice that could ensure some regularity. Maybe you could write an ebook on it?
Regards
Ron
Ron Skruzny
January 15, 2008 at 7:12 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
StanleyYee.com » WordPress 2.3
January 17, 2008 at 10:30 pm
[...] must have a WordPress version 2.3 or higher. Since WordPress 2.3 and above already has a canonical URL feature, you can take advantage of this. Instead of linking to your blog post with your long URL, you can [...]
Remove The TinyURL In Twitter | Make Money Online at Macuha.com
January 25, 2008 at 7:41 am
I work for a hosting company, and this feature causes us no end of support headaches. People frequently want to move the location of their WordPress installation, and this causes major problems when they do so. We hear from lots of customers unable to access their site.
It would be much better if this was a preference that could be turned on or off, and if it didn’t affect the admin URLs (so that people could login and turn off the preference if one was available).
Robert Mathews
January 30, 2008 at 8:07 pm
I created a website in wordpress but when I type in http://www.sitename.com it goes to sitename.com and drops the www
Is this a problem. Sure would like to know what I am doing wrong. I use fantastico in install it.
Can someone help me?
Nameopoly Domains
February 6, 2008 at 1:45 pm
[...] Turns out, this capability is part of the amazing work Mark Jaquith has done in 2.3.x with Canonical URLs. With this working, I was able to write a single line into .htaccess that handled nearly every URL [...]
scot hacker’s foobar blog » Notes on a Massive WordPress Migration
February 7, 2008 at 4:30 am
I have problem with www too. When i write http://www.mysite.site.net then drop http://www... Someone knows why?
Nocleg
February 12, 2008 at 5:09 am
I have problem with www too. When i write http://www.karpacz.nocuj.net then drop ‘www’… Someone knows why?
Nocleg
February 12, 2008 at 5:11 am
[...] www versus non-www: On the WordPress Support Forums, clarification on the issue of www to non-www has been given. WordPress 2.3 offers “canonical URLs” which redirect www to non-www or vice-versa. Go to Options > General and set the URL to whatever you want it to be, with or without the www and WordPress will automatically redirect visitors and search engines to the correct URL and permalink. This was explained in Perishable Press – Comprehensive URL Canonicalization via htaccess for WordPress-Powered Sites”, Weblog Tools Collection – Configuring WP Permalinks, and Mark Jaquith – WordPress 2.3: Canonical URLs. [...]
WordPress Wednesday News: WordPress 2.5 Live Reports, WWW or Not to WWW, 16,000 Post Migration, MT Does WP, WP Does Kazakhstan, and Gets Mugged : The Blog Herald
February 14, 2008 at 1:12 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 | Fromtheold
February 14, 2008 at 8:09 am
[...] truth is, there is more to URL canonicalization than I’ve mentioned here, but this is another proof of how WordPress has grown and [...]
WordPress Canonical URLs: Redirect WWW to Non-WWW Blog URLs and Vice Versa | WordPress Philippines
February 17, 2008 at 9:15 pm
Great post. I understand, if search engine spider visit those links, they think that it was duplicate content, you can get banned from google. but it will be no problem if you didn’t give that canonical link to website, google will not spider it!
ahndunk
February 18, 2008 at 5:59 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 at Wolny Globers
February 21, 2008 at 4:09 am
Hello,
I am running wp 2.3.3. The site is hosted on Yahoo. The yahoo custom permalinks plugin is installed an activated.
I have also installed the plugin to disable canonical URLS. I still cannot get permalinks to work correctly. The site in question is http://www.showukare.com.
An example of the problem is http://www.showukare.com/faq.
I have a page with the page slug of “faq” but it will not load. The page will load is you use the default link structure:
http://showukare.com/?page_id=2
Is there anything I can do to get this to work with this setup?
josh
February 28, 2008 at 7:22 pm
Thanks to this little beauty Digg will now recognize my site again.
bradstinyworld
March 3, 2008 at 9:14 am
[...] save for what was visible on the homepage was unaccessible. Thanks to a great little plugin from Mark everything is fixed. Way to go Mark! Share and Enjoy: These icons link to social bookmarking [...]
Broken Wordpress 2.3.3 Permalinks | Brad's Tiny World
March 3, 2008 at 11:38 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 | Snap 3.0
March 4, 2008 at 10:28 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Dogs World » Blog Archive » WordPress 2.3
March 15, 2008 at 3:34 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3
March 18, 2008 at 12:09 pm
I can’t thank you enough for your efforts. I’d previously rolled back a word press upgrade because of this issue… and its interaction with Yahoo’s Permalinks. When I decided to move to 2.3.3, I’d mostly forgotten about this issue (or at least assumed it’d been resolved). I had a sick feeling in my gut when my permalinks broke all over again. Thankfully, I came across your plugin… and got my blog back up and running.
THANK YOU!!!!!
Anthony
Anthony
March 18, 2008 at 4:54 pm
I’ve detailed the best method for wordpress installation on yahoo…including the best permalinks possible here – http://natespost.com/index.php/install-wordpress-on-yahoo-server/ hope this helps!
nate
March 20, 2008 at 11:50 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 : afiliasi
March 21, 2008 at 1:21 am
[...] Ho fatto un paio di prove di funzionamento del blog e mi sono accorto che l’Host provider ha fatto dei cambiamenti che mi hanno costretto ad aggiornare WordPress. Con grande sorpresa l’aggiornamento è andato benissimo, liscio come l’olio, in altre circostanze è stato un vero incubo ma … lo scoprire che i permalink non funzionavano più mi ha colto totalmente impreparato. So che Yahoo per motivi di sicurezza usa una struttura un pò particolare ma immaginavo che al rilascio delle nuove relise di WordPress aggiornasse anche i suoi plugin. Invece no. Dannazzione sono stato una notte a rompermi la testa per rimettere online tutti i miei articoli con link esterni. Un’impazzimento non da poco Poi sul sito di WordPress ho trovato questo topic e la soluzione suggerita si trova in un plugin rilasciato a seguito di questa discussione [...]
Permalink e Yahoo | I Diavoli Neri
April 1, 2008 at 6:05 am
jouer poker en ligne gratuites
legislation poker en ligne
April 2, 2008 at 1:53 pm
regle du jeu poker texas
online poker players
April 2, 2008 at 3:25 pm
texas holdem freeware download
poker spielen deutschland
April 2, 2008 at 9:07 pm
Her tournoi de poker en ligne longshot base out martingale party poker reload bonus code stand wiseguy belly pair prize spikes sito poker percentage chalk slots handicapper pot!
jeu gratuites poker texas
April 3, 2008 at 7:09 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Web 2.0 News » WordPress 2.3
April 3, 2008 at 7:09 am
Consider roulette tipps implied hard lottery first card chase credit platinum student ragged bet progressive flush spielen sie kasino online bluff muck fast fold dollar underlay.
roulette online games
April 3, 2008 at 1:48 pm
discover credit card phone number
consolidate credit card debt comparison
April 4, 2008 at 7:50 am
Thank you! this solved my problem of endless redirects because of some weird settings on my server (that are beyond my control).
Dan Butcher
April 4, 2008 at 11:58 am
Hmm… This should have been front and center news for wordpress upgraders, as an infinite indirect is definitely grounds for panic.
Granted, some servers are poorly implemented, however users don’t have any other choice but to use them. I had to install the anti-canonical redirect plugin to restore access to the site, but not before a bit of panic. ugh.
ceti
April 6, 2008 at 10:26 pm
keno online…
With the omaha poker online spielen giochi gratis video poker…
cash advance detroit
April 8, 2008 at 11:08 am
Nice, problems with 2.5 in that the pages on my blog dont work any more after upgrading. http://blog.takeabreak.co.nz
takeabreaknz
April 8, 2008 at 7:46 pm
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
Raley’s » Blog Archive » WordPress 2.3
April 9, 2008 at 11:58 pm
celcom malaysia caller ringtones…
…
nextel ringtones cd
April 18, 2008 at 11:51 am
[...] WordPress 2.3: Canonical URLs to avoid confuse search engines and to consolidate your rankings for your content, there should only be one URL for a resource. We call this URL the canonical URL (tags: wordpress seo url canonical) [...]
links for 2007-09-30 — Orangescale.NET / Thomas Arie Setiawan
April 19, 2008 at 2:12 pm
poker gratis in italiano…
…
cell phone ringtones wallpaper
April 22, 2008 at 2:32 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
diegesis » Blog Archive » WordPress 2.3
April 23, 2008 at 2:40 am
[...] fine (it was about twelve hours that pages except the home page were broken). Also, Canonical URIs work now, so one like richardxthripp.richardxthripp.com/index.php?p=139 (generated by yak, my [...]
“No input file specified” error
April 23, 2008 at 8:09 pm
Great article. Thanks!
Super Mario
April 29, 2008 at 9:14 am
free boost ringtones…
Wie texas holdem poker 5.1 roulette gratuites…
euro poker gratis
May 6, 2008 at 2:19 am
Great article. Thanks!
spielen
May 11, 2008 at 3:18 pm
[...] all to do with those canonical URL’s and the fix was a case of installing the "Disable Canonical URL Redirection " plugin which took a couple of minutes. I’m not sure if I should leave that as a [...]
Wordpress 2.5 Upgrade Installation | The Cayman Host
May 16, 2008 at 12:58 pm
Excellent article. Thanks for this!
Webdesign Portfolio
May 16, 2008 at 3:33 pm
mlkuxf qirscjadb wgnhztyk aerkqtcsv yeksa xjko spljetbxv
ptdfukorv wdsciebzx
May 19, 2008 at 4:28 pm
Home Entertainment Center is nothing less than one of the most amazing one- man variety shows of all time. Besides being hysterically funny, Banks in the course of an hour, sings and plays banjo, flute, bass, drums, harmonica, and both electric and acoustic guitar. He’s not an impersonator, but that doesn’t stop him from doing brief tributes to Elvis, Bob Dylan, Paul Simon, and Van Morrison.
Facts about New York City
May 23, 2008 at 2:55 pm
qcrbzf fvjo acutse ufsaokz
last he rose
June 10, 2008 at 5:08 pm
[...] 2.3 (the blog software I’m using) introduced the concept of canonical URLs, which caused a problem on my host after upgrading. To sum it up, there are many possible ways to [...]
..: ohohlfeld.com : blog » Infinite 301 Redirect Loop in WordPress due to Canonical URLs Fixed
June 24, 2008 at 12:13 pm
It’s great, but there is one more redirect part that’s missing. Consider the following scheme:
/%post_id%-%postname%/
which is great for those long urls which can be truncated in email
let’s say the URL is:
/blog/5-my-very-long-url/
if it somehow gets truncated and person reaches:
/blog/5-my-very
it still works (i.e. fetches the article #5), which is perfect! however wordpress (at least 2.5.1) will not automatically rewrite the broken url to:
/blog/5-my-very-long-url/
and now someone might start using:
/blog/5-my-very
in bookmarks, and elsewhere, which creates “duplicated content”.
So if you could teach wp to handle that issue it’d be golden.
Thank you Mark for doing a great job.
stas bekman
July 5, 2008 at 9:24 pm
[...] the DNS not propagating itself. After eliminating the culprit down to WordPress, I found that a canonical URL feature had been implemented in version 2.3 that had apparently wreaked havoc on several [...]
Calculating Infinity » Blog Archive » The Undeading
July 14, 2008 at 12:50 am
‘ Senate Budget Committee Chairman Kent Conrad, D- N. D., said Saturday he is donating 10,500 to charity and refinancing his loan on an apartment building after reviewing documents showing he received special…
lease option buy
July 31, 2008 at 10:22 pm
pdoc
chlortrimeton
August 7, 2008 at 4:04 pm
Thank you for this article. Has been proven to be very helpful for me. Good Job!
Cytaty
August 15, 2008 at 8:21 am
Good job. Useful article and URL’s
Noclegi Kołobrzeg
August 18, 2008 at 3:03 am
Has been proven to be very helpful for me . Good article, useful URL’s
Thanks
Noclegi Zakopane
August 18, 2008 at 3:06 am
WOW! Thank you for this great Link collection…!
CFD
September 21, 2008 at 10:21 am
This is very interesting and helpful article. Thank you for your work.
Gry Logiczne
September 21, 2008 at 10:51 am
[...] Canonical URL’s is not a difficult concept to understand once you look at what the SEO issues are. [...]
Upgrade Wordpress To Version 2.3 To Fix Canonical URL And SEO Issues | Technical Tips For Internet Marketing, Wordpress, & Online Business
September 24, 2008 at 10:14 pm
Good job. Useful article and URL’s.
Thanks
Statusy GG, Opisy na GG
September 25, 2008 at 5:18 am
[...] We’ve cleaned up URLs a bunch in a feature we call canonical URLs which does things like enforce your no-www preference, redirect posts with changed slugs so a link never goes bad, redirect URLs that get cut off in emails on similar to the correct post, and much more. This helps your users, and it also helps your search engine optimization, as search engines like for each page to be available in one canonical location. More info here. [...]
WordPress 2.3 | How To WordPress
September 30, 2008 at 7:07 am
[...] the default compact WordPress rewrite rules to the verbose type. And the second was to disable canonical redirects. The server was setting an incorrect $_SERVER['REQUEST_URI'] value, which sometimes caused some [...]
RogAnty - Blog - Has anyone noticed?
October 5, 2008 at 2:57 pm
[...] if you upgrade WordPress in the standard way. WordPress developers are nice enough to provide workaround modules for such [...]
Ze blog» Blog Archive » Provider one-click installs: easy, non-standard
November 5, 2008 at 11:34 am
YmO0FG bnnLst19hdY6llAd3fg6
standy
November 9, 2008 at 3:18 am
[...] ADDING: Beware of WordPress 2.3’s new Canonical URL feature. It’s a great feature, long overdue, but if you have redirects in .htaccess, you can possibly create a redirect loop. Lots of info on this feature can be found at Mark on WordPress. [...]
Blank Pages When Posting Comments in WordPress? | ZachBrowne.com
November 14, 2008 at 4:25 am
This sure does break a LOT of things. It breaks
any site which uses cookies, for example, since
cookies for http://www.site.com won’t be sent back to
site.com. It breaks PHP sessions for the same
reason. It breaks stadard basic authentication,
as a browser which has saved the password for
http://www.site.com won’t send it to site.com or
vice versa. I could go on, but I think you get
the point. In my opinion this should definitely
not be the default. Generally, anyone who comes to us with WordPress problems, 80% of the time
the problem traces back to this canonical URL
misfeature.
Ray
November 18, 2008 at 12:24 pm
[...] save for what was visible on the homepage was unaccessible. Thanks to a great little plugin from Mark everything is fixed. Way to go Mark! Powered by Stumble! for [...]
Broken Wordpress 2.3.3 Permalinks :: Local News and Newspapers
November 24, 2008 at 7:45 am
Hi Mark,
I am having a trouble with URL redirect in WP 2.6.3 admin panel. My setup is such that whatever comes to http://www.mydomain.com/blog gets re-directed to the blog.mydomain.com/blog and this is internal and all I expect from wordpress is to use the siteurl from wp-options (or homeurl) to create the prefix for all the links. But this is not happening and the admin panel links end up having http://www.mydomain.com/wp-admin etc.. (the blog part is omited). do you know how I can fix this?
Thanks
Maddy
Maddy
November 25, 2008 at 1:16 pm
nupgtm cgze myflj
russians womens
November 27, 2008 at 8:11 pm
Great website!
gry
December 1, 2008 at 8:41 am
[...] the DNS not propagating itself. After eliminating the culprit down to WordPress, I found that a canonical URL feature had been implemented in version 2.3 that had apparently wreaked havoc on several [...]
The Undeading
December 4, 2008 at 9:15 pm
scovnaz lkbipf ycuef
potassium
December 11, 2008 at 5:23 pm
Hi Mark,
I have a thread going at the WP forums regarding no-www and www canonicalization issues: http://wordpress.org/support/topic/224976?replies=5
I launched a site a few weeks ago with the URL structure http://domain.com & Google has already indexed some pages.
I updated the URL structure to http://www.domain.com and updated all links on my site. It looks like everything without www is redirecting to http://www.domain.com.
Is this a global 301 or 302 redirect now from http:// to http://www ? Are there any other steps you recommend taking?
I am currently using 2.6.1, but will be upgrading to 2.7 soon.
wp3423
December 13, 2008 at 1:26 pm
Hi Mark,
I’ve installed and uninstalled WordPress 2.7 on godaddy.com three times. It’s set up as http://domain.com/blog.
I get the infinite Redirect loop because of my .htaccess file.
Here’s the Firefox 3.0.5 error message:
Redirect Loop
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
The browser has stopped trying to retrieve the requested item. The site is redirecting the request in a way that will never complete.
————————————
I disabled canonical redirection (domain.com –> http://www.domain.com) in .htaccess and so WordPress works fine.
However, I really don’t want to disable canonical redirection for the site as a whole just for WordPress.
The plugin that started this thread… is it still valid? And if so, which file should I modify so that it’s included?
Any advice would be greatly appreciated!
Cheers,
Wayne
Walk in Bath
February 5, 2009 at 12:58 pm
[...] Remove The TinyURL In Twitter Canonical URLs Check Server Headers Tool – HTTP Status Codes Checker Share and [...]
SEO tip for your Blog with Twitter… | Wahlqvist
February 8, 2009 at 6:27 pm
I have several blogs hosted on different accounts. On some accounts, I have no errors while running wordpress while on others I have a ton. I cannot figure out why I keep getting this redirect issues even after uploading your plugin. Does it have anything to do with my changing the permalinks? I have too many blogs set up and grounded to have to uproot them so am hoping for a better solution.
Tiara
February 15, 2009 at 5:12 pm
thanks for this great plugin. This is really valuable for wordpress users.
Winwab
February 17, 2009 at 2:10 am
I am just migrating to WP and there seems to be a basic misunderstanding of canonical URLs. There should be only ONE proper representation. This works:
http://markjaquith.wordpress.com/snufflebunk/wordpress-23-canonical-urls/ does a proper 301 to
http://markjaquith.wordpress.com/2007/09/25/wordpress-23-canonical-urls/
a case with categories eg.
http://www.gl3nnx.net/snornpoogle/nature-shine-wordpress-theme.htm returns a 200 instead of
http://www.gl3nnx.net/wordpress-themes/nature-shine-wordpress-theme.htm
this can really mess up google (duplicate content) and everyone else and should never happen.
its not my site, but same thing on mine. perhaps I am missing a setting
davidsanger
March 20, 2009 at 10:03 pm
however on the WPO site
http://wordpress.org/show8case/platinumgames/
returns 404 and
http://wordpress.org/showcase/platinumgames/
I downloaded your plugin too and ti seems not to make a difference in the category based permalinks. again am I missing somethin??
davidsanger
March 20, 2009 at 10:18 pm
Another thumbs up from someone who was using Yahoo hosting with infinite loop issues on archive links. This plugin fixes the issues! Thank you!
Kate
March 26, 2009 at 11:39 am
Thanks for those all article at your blog. Its very helpful.
Perfumy
April 14, 2009 at 9:00 am
Excellent article, thanks.
Green Engineer
April 17, 2009 at 5:04 pm
We’ve just got ourselves in the loop Mark mentions – the blog is at domain.com and the main site is at http://www.domain.com. We redirected in the .htaccess and the blog stopped working so we have to go back and diable the canonical redirect in WP admin but I can’t access the admin – the login seems to loop!
Bizarrely we have deleted the htaccess redirect yet the site is still redirecting. Is there a way to access my log’s admin panel while the redirect is still in place?
Kath Dawson
May 7, 2009 at 9:02 am
Great post, make more
SEO Ekspert
June 22, 2009 at 11:26 am
Maddy, this has been fixed for WordPress 2.7 — it only does canonical domain redirection for
www.differences.Mark Jaquith
December 5, 2008 at 5:20 pm
wp3423 — All versions of WordPress since 2.3 will do 301 redirects based on the domain you’ve set as your “Blog URL” in Settings → General. You’re all set. Google will follow those redirects and consolidate your “Google juice.”
Mark Jaquith
December 16, 2008 at 7:37 pm
Ray — They’d be having those problems regardless of the redirect.
Mark Jaquith
December 16, 2008 at 7:39 pm
Wayne,
Yes, the plugin can still be used to disable canonical URL redirection. Upload it to
wp-content/plugins/and activate it from the Plugins page in your wp-admin.Or just remove the contradictory line from your
.htaccessMark Jaquith
March 6, 2009 at 2:06 am