Quick Online Tips
About     Contact

Canonical Url Errors with All-in-One SEO WordPress Plugin

All in One SEO Pack is a very popular wordpress plugin and does some SEO tweaks for optimizing your WordPress blog for higher search engine rankings. But as our pagerank dropped recently, investigation revealed that though there may be many causes for PR drop, some canonical url options might be reducing our google pagerank.

All in One SEO WordPress Plugin & Canonical Urls

Google recently introduced a Canonical url option which allows webmasters and bloggers to specify a canonical url in the HEAD of their html to publicly specify the preferred version of a URL. If your site has identical or vastly similar content that’s accessible through multiple URLs, this format provides you with more control over the URL returned in search results. Which basically means that if your single page is accessed by multiple urls, the canonical url option can help search engines identify and index the url of choice and avoid duplicate content Google penalization issues.

The FAQ reveals its a very powerful atribute to add to web pages.

Is rel=”canonical” a hint or a directive?

It’s a hint that we honor strongly. We’ll take your preference into account, in conjunction with other signals, when calculating the most relevant page to display in search results.

Can rel=”canonical” be a redirect?

Yes, you can specify a URL that redirects as a canonical URL. Google will then process the redirect as usual and try to index it.

We have been using the excellent All in One SEO Plugin for quite some while for blog SEO purposes. WP 2.7 has made it super easy to upgrade the plugins in one click and usually we upgrade to new plugin versions without actually looking into the options everytime we upgrade. Big mistake!

Upgraded plugins may check new options by default in the new upgrade, which you might never know without reading the changelog (which how many of us do?).

canonical urls

The recent upgrade of All in One SEO Plugin checked the canonical urls option by default. While this was a good step for a SEO plugin, it possibly reduced our Pagerank. Here is how….

Canonical Urls and Google Pagerank

We host our WordPress blog in a subdirectory called “Archives”. Its easy to host WordPress in an alternative directory. So the canonical url of the front page should be

<link rel="canonical" href="http://www.quickonlinetips.com/" />

while the hosted blog archives page should be

<link rel="canonical" href="http://www.quickonlinetips.com/archives/" />

But when I looked into the source code of the main page and the archives page, both show this

wrong canonical url

which basically means that when search engines visit quickonlinetips.com, the canonical url tells them / redirects them with information that the actual page of choice which we want to index is quickonlinetips.com/archives/ and that creates a whole lot of confusion in the search engines.

Its possibly occurred on our blog because WordPress address and Blog address are the same in the WP admin settings, so maybe the plugin does not recognize the occurence of the new index.php at the root. But I am sure many bloggers out there have not changed the default wordpress settings. Anyways our google pagerank of the main page is now down from PR5 to PR4 and archives page has increased from PR3 to PR4!

Well we have now unchecked the canonical url options in the plugin, changed the index page to be different from the archives page and wait for Google to reindex our content and restore PR is possible. We had already set our preferred domain in Google webmaster tools earlier.

preferred domain

Considering that All in One SEO Plugin is the most popular wordpress plugin ever and is downloaded over 1.3 million time, and many WordPress bloggers host their WordPress files in alternative directories, I believe this is an important issue to address.

WordPress Plugin Lessons

So some humble suggestions for WordPress plugins developers, especially when popular plugins may effect thousands of blogs with one click -

1. Please do NOT check new options as default in upgrades.

2. It would be great if they added changelog link to WP options panel should be mandatory, especially the latest update, so bloggers can check out what are the latest major fixes out there.

It would be great if WordPress codex added a changelog to the individual plugin navigation page by default, so that users know what the latest updates are.

It would be interesting to hear the views of our learned readers, and what else could we be doing wrong to reduce our Google PR.

NOTE: All-in-One SEO Pack is an amazing and highly recommended wordpress plugin. I am not a SEO expert but the canonical url errors may have led to our PR drop, though there are hundreds of other issues that may have led to this Google PR drop, which Google best knows. Anyway it is essential to follow Google Webmaster guidelines always.

Update – I have changed the post title, which was being wrongly interpreted.  Note that the plugin did what it was supposed to do and affected our site because WordPress address and Blog address are the same in our WP admin settings. So basically the plugin needs some more options for canonical url settings in with different wordpress settings. Basically those who host WordPress in an alternative directory should check the canonical options and fix them if required.

UpdateMark points to this nice video of Google engineer Matt Cutts explaining the canonical link element and SEO, which would be useful context here.



74 Responses

  1. @Brian – I am glad I could help more people notice this issue.

    QuickOnlineTips posted on 06/04/2009
  2. Sounds like something really fishy went on but if the conical URL PR increased while the other URL decreased, it appears to be a logical conclusion. The All in one SEO plugin author happens to be a member of the WPTavern community and I’ve started a thread with this article in mind:

    http://www.wptavern.com/forum/plugins-hacks/366-all-one-search-engine-optimization-getting-bad-rap.html

    Hopefully, he’ll either reply their in the forum or he’ll respond in the comments.

    But having interview Michael Torbert who is the author of the plugin, he told me that even if a new person who would simply activate the plugin on their WordPress install, it would help out their SEO despite their being a myriad of settings to choose from. While the most recent version is not covered, their is a changelog located here

    http://semperfiwebdesign.com/documentation/all-in-one-seo-pack/all-in-one-seo-pack-release-history/

    Jeffro posted on 06/04/2009
  3. nice catch! I’d say it is the most likely source of your drop and I’m sure your PR will return to normal once Google sorts things out now that you’ve fixed the issue.

    I did want to add though that setting your preferred domain in Google Webmaster Tools has no relevance to this issue, that is solely about “.www” or not in your domain.

    Craig Fifield posted on 06/04/2009
  4. Even I host WP in a folder and redirect to root. I checked source code, it looks fine showing root URL and not folder URL – even though Canonical URLS option is checked, any idea?

    Davinder posted on 06/04/2009
  5. Christopher, I just can’t agree with you, for a number of reasons:

    First, Google has nothing against search engine optimization – especially not the kind that this plugin handles. This plugin gives you the ability to better clarify what each page is about – instead of relying on wordpress to do it for you. Google has nothing against this, they encourage proper meta information and titles for sites – this helps them figure out what your page/site is about.

    As for the direct confirmation that this plugin caused your pagerank drop – this is just ridiculous. Is it possible? Sure – but there are hundreds of other possibilities – and its likely that a combination of them caused the drop. On top of that, I’ve seen across a number of other sites on the internet that we are in the midst of a pagerank update – this drop could have been months and months in the making.

    Lastly – there is no plugin that will help with SEO today? As referenced above, this plugin absolutely will help your on page optimization. SEO is not the voodoo that some people make it out to be – its about structuring your page so that search engines can easily understand exactly what it’s about, and driving relevant links to it. This plugin handles the first part of that equation perfectly.

    QuickOnlineTips, your sentiment that plugin authors shouldn’t set new options as the default is certainly debatable. I think it’s a little low, however, to publicly place the blame for your pagerank drop squarely on a free plugin, which may or may not have had anything to do with it.

    Peter posted on 06/04/2009