• Resolved Yaland

    (@dronvegas)


    The SEO Framework 5.0.2
    Any changes for canonical urls not working, <link rel=”canonical” href=”url” /> is always displayed, regardless of settings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    TSF doesn’t have an explicit option to hide the canonical URL; it should always point to the canonical page. This is to guide search engines from duplicated content, improve indexing speed, and prevent SEO attacks.

    TSF’s canonical URL will disappear when any of the following conditions match:

    • no custom canonical URL is set, and the requested page is marked “noindex”;
    • or the post type is excluded via General Settings > Exclusions;
    • or the canonical URL is filtered out via a PHP snippet.

    Is there any reason you wish to hide the canonical URL? If so, please let me know your requirements, and I’ll see what I can do. A link to the page would be very helpful. Perhaps there is a better solution than hiding the URL.

    Thread Starter Yaland

    (@dronvegas)

    Hello!

    Thanks for answer. I mean settings tab which captured on my screenshot (https://snipboard.io/STEQlA.jpg), these settings have no visible effect in the frontend. But anyway i have reached required result using ‘the_seo_framework_meta_render_data’ filter.

    Thanks for this great plugin! It is my preferred SEO plugin for many years.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    Thank you for sharing the screenshot. Only the Scheme setting affects canonical URLs. The checkboxes affect canonical link relationship (rel) tags, not canonical URL tags. The jargon is all over the place, but I hope this makes more sense.

    To see them in action, you can take a look at our changelog archive: https://theseoframework.com/category/changelog/page/3/.

    There, you’ll find in the page’s HTML source:

    <link rel="prev" href="https://theseoframework.com/category/changelog/page/2/" />
    <link rel="next" href="https://theseoframework.com/category/changelog/page/4/" />
    

    I’m happy to see the new filters prove useful. If there’s anything else you require, please let me know.

    Have a beautiful week!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Settings > Canonical not working’ is closed to new replies.