Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Baz11

    (@baz11)

    May be it is problem of SEO plugin- All in One Seo. But I think it is a very important question of compatibility

    Plugin Author Chouby

    (@chouby)

    Probably a conflict yes. As far as I know, the WordPress core does not set a canonical url for the homepage. And so Polylang keeps it as is and does not set a canonical url for the homepages in different languages. I don’t use any SEO plugin and all my pages are indexed.

    Thread Starter Baz11

    (@baz11)

    When there are no Canonicals – there is no problem. All pages will indexes. But when Canonical urls is setting with any Seo plugin, main pages in other languages ??will refer to main page in default language and will not indexes.

    Plugin Author Chouby

    (@chouby)

    I made a test and confirm. You can easily suppress the issue by unchecking the Canonical URLs option in All in One SEO settings.

    Thread Starter Baz11

    (@baz11)

    Hm… Without canonical URLs there will be many duplications pages (specific of WordPress). It will be a very big problem for any blog. I would not advise anyone to turn off canonicals.

    Thread Starter Baz11

    (@baz11)

    I hope You will find another solution to this important issue.

    Plugin Author Chouby

    (@chouby)

    But, as far as I know, WordPress does set a canonical url for all pages, except on homepage.

    Thread Starter Baz11

    (@baz11)

    Hm… I use WordPress 3.4.0. I will test it and will write it result.

    Thread Starter Baz11

    (@baz11)

    When unchecked the Canonical URLs option in SEO plugin settings – WordPress adds canonical URLs for all posts and pages except the homepage.
    It works.
    Tell me please: homepage may be without canonical? It will be no any duplications?

    Plugin Author Chouby

    (@chouby)

    But, as far as I know, WordPress does set a canonical url for all pages, except on homepage

    I am wrong. There is no canonical url for archives.

    I further investigated and noticed that All in One SEO is supporting WPML for canonical urls. I made a slight modification so that it should work with Polylang too.

    You can test it in the development version.
    https://downloads.www.ads-software.com/plugin/polylang.zip

    Thread Starter Baz11

    (@baz11)

    Yes, it works in new version. Thanks a lot :!)
    But when I deactivated plugin for upgrade and activated new version – all settings and translations was broken…
    How to make right upgrade for new versions of plugin without it?

    Plugin Author Chouby

    (@chouby)

    If you automatically upgrade or manually upgrade by deleting the polylang directory and uploading the new version, you should loose nothing.

    But if you click on the red ‘delete’ link in the plugins list, then Polylang deletes all what you have done with it. All plugins should work like this.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Polylang] Canonical URLs for main pages dont work’ is closed to new replies.