• Resolved PUECON

    (@puecon)


    wordpress allow website to have multiple tags in the url, for example,

    website.com/tag1,tag2/page/10

    but the canonical only display the first tag1, for example,

    website.com/tag1/page/10

    Since multiple tags in the URL will have more pages, so if tag1 doesn’t have 10 pages, this lead 404 error in google web console.

    https://wordpress.org/plugins/wordpress-seo/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Puecon,

    Do you perhaps have “noindex subpages of archives” enabled?

    http://kb.yoast.com/article/213-how-do-i-noindex-urls#archives

    ~ Kim ~
    Support at Yoast

    Thread Starter PUECON

    (@puecon)

    No.

    Let me give another example of the problem.

    If you go to https://yoast.com/cat/analytics,seo/page/41/, this link contain the posts of all post that have analytics and/or seo as the category.

    If you view the source, it’ll display the canonical as,

    <link rel="canonical" href="https://yoast.com/cat/analytics/page/41/" />

    which is wrong, because that page doesn’t exist, which lead to an 404 crawler error in google webmaster console.

    The correct should be:

    <link rel="canonical" href="https://yoast.com/cat/analytics,seo/page/41/" />

    The same error is prevalent in multiple tags.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘tag canonical error’ is closed to new replies.