WordPress.org

Ready to get started?Download WordPress

Forums

All in One SEO Pack
Canonical URLs don't match actual URLs (7 posts)

  1. rbellphoto
    Member
    Posted 2 years ago #

    Noticed some Crawl errors in Google Webmaster tools and with a little digging, discovered that AIOSEOP is showing bad canonical URLs. (They don't match the actual URL.) To complicate things, it only occurs on of my blog pages and I can't find a pattern. Anybody else experience this? Is there a way to re-generate the canonical URL tags? Should I just shut off this feature completely? Any suggestions would be appreciated.

    http://wordpress.org/extend/plugins/all-in-one-seo-pack/

  2. astrasuite
    Member
    Posted 2 years ago #

    Same problem as mine :

    http://wordpress.org/support/topic/plugin-all-in-one-seo-pack-canonical-urls-problem-prevents-google-from-indexing-pages?replies=2

    I have 4 pages of posts, I get errors for page 2, 3, and 4. Maybe it has to do with plugin WPNavi. But I like WPNavi, so I just turned off canonical for now in All in One SEO. What is supposed to be good actually gives bad SEO due to the crawl errors, so better turn it off until it's fixed and rely on WordPress's native canonical handling.

    This All In One SEO canonical feature is dangerous, especially to those who are unaware and don't use webmaster tools or build sitemaps that check for broken links. There is one similar problem 1 year ago :

    http://wordpress.org/support/topic/plugin-all-in-one-seo-pack-problem-with-the-canonical-links-for-categories?replies=1

  3. rbellphoto
    Member
    Posted 2 years ago #

    Still don't know what caused the original problem, (I think it had something to do with installing All-in-One-SEO after the blog was already up and running,) but I did find a fix/workaround. With a little digging, I found that the Permalink on certain pages was incorrect. I changed the global Permalink structure from "default" to "Day and Name" and then I manually edited the permalink on each incorrect page. This automatically forced a regeneration of the Canonical URL. Now all is good.

  4. astrasuite
    Member
    Posted 2 years ago #

    Hey hey hey, I changed my Permalink from "default" to "Day and Name" like yours and it now works ! No broken links reported by Sitemap maker, and code insrted by AIOSEO, <link rel="canonical" href="http://www.astrasuite.com/astrablog/page/2/" />, is now correct and follows the structure of the new Permalink.

    Thanks for your reply that led to the solution :), cheers !

    Will just keep on watching if any errors come up later.

    p.s. the link to my original problem in my post above was wrong, it should have been the one below, which I will now mark as solved.

    http://wordpress.org/support/topic/all-in-one-seo-canonical-url-problem?replies=1

  5. radiofranky
    Member
    Posted 2 years ago #

    I'm not sure if is the same problem but is giving me crawl error

    http://www.abc.com/video/16393/video/category/taiwanese-variety-show

    and should be only

    http://www.abc.com/video/16393/

    could this due to the pretty permalink? Because when I switched to default "?P=120" I didn't notice any problem.

    Thanks

  6. astrasuite
    Member
    Posted 2 years ago #

    I don't know, but anyway, I've switched to WordPress SEO by Yoast, excellent, and great results in Google.

  7. Vijay Padiyar
    Member
    Posted 2 years ago #

    There is indeed a bug in All In One SEO Pack when it comes to Canonical URLs of multi-page posts/pages. The issue is documented in this blog post: http://www.vijaypadiyar.in/blog/2011/12/all-in-one-seo-pack-breaks-canonical-urls

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic