WordPress.org

Ready to get started?Download WordPress

Forums

Yoast SEO plugin is adding wrong canonical on category page (2 posts)

  1. Kimpo
    Member
    Posted 2 years ago #

    Hi

    I used to have category pages like this

    domain.com/k/categoryname

    Then i installed the seo plugin and activated it to remove the /category/ in the url from category pages.

    i changed WP-permalinks back to default and resaved them but the plugin is adding the wrong canonical tag for category pages now.

    check the source on this page (row 17).

    As you can see the canonical link is pointing to the old url with the /k/ in the middle and this is really bad. It seems to be saved somewhere and i cannot find where.

    i have tried reactivating the plugin, resaving every options page, resaving permalinkpages but the canonical wont change.

  2. Kimpo
    Member
    Posted 2 years ago #

    Seems to be a bug in the plugin. However i went through wp_options table and changed the canonical links manually.

Topic Closed

This topic has been closed to new replies.

About this Topic