• Resolved bichareh

    (@bichareh)


    Hi,

    YOAST SEO is overwriting the canonical tag of my theme. That’s an issue, because Yoast injects the wrong canonical tag on my paginated front page.

    On Page 2 it says https://www.domain.com/ instead of https://www.domain.com/page/2/. If I deactivate Yoast it’s all good and it shows the correct canonical.

    I tried “add_filter(‘wpseo_canonical’, ‘__return_false’);”, but that removes the canonical tags completely. But I need only to disable the canonical-things of Yoast and let my theme do the rest.

    Thank you for your help!

  • The topic ‘Prevent YOAST from overwriting Canonical Tag’ is closed to new replies.