• Resolved colt0155

    (@colt0155)


    Hi, there!
    Need your help.

    All my links without “/” at the end.
    But the canonical url shows “/” at the end.
    https://prnt.sc/1qaaub4

    I have read that Yoast fills the canonical URL automatically, like the main URL.
    What I should do to show the canonical URL without “/” at the end?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @colt0155,

    Thanks for reaching out.

    Yoast SEO should allow you to decide whether or not to have a trailing slash since the plugin bases the canonical URL on the permalink structure. When it ends in a trailing slash, it should output one. If the trailing slash is not in the permalink structure, it should not.

    Please confirm that there is no trailing slash in your permalink structure and that you’re using Yoast SEO 16.9.

    • This reply was modified 2 years, 8 months ago by Maybellyne.
    Thread Starter colt0155

    (@colt0155)

    Hallo @maybellyne!
    1. There is no slash in my permalink structure – https://prnt.sc/1qal4um , https://prnt.sc/1qal74a
    2. I’m using Yoast SEO 16.9.

    Could you help me to change the canonical URL?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    Thanks for sharing the relevant information here with us. You can change the canonical URL of a page by using the meta box. You can find more information about this here: https://yoast.com/help/canonical-urls-in-wordpress-seo/

    Thread Starter colt0155

    (@colt0155)

    Hello, @mazedulislamkhan !
    I read this article, thank you.

    Maybe you know about this issue:
    My permanent links with “/” at the end.
    But my website generates 2 url with “/” and without “/” :
    1. domain.com/category – with 301 redirect
    2. domain.com/category/ – 200 OK

    Does Yoast Seo generate the same URL without the forward slash? Im trying to find where the issue hides.

    • This reply was modified 2 years, 8 months ago by colt0155.
    Plugin Support Michael Tiña

    (@mikes41720)

    Hi @colt0155

    The Yoast SEO plugin should utilize whatever settings you have in your WordPress permalink structure.

    For that specific issue you are mentioning, the Yoast SEO plugin shouldn’t affect or enforce if a trailing slash should or should not be used for where your URLs would be loading. Perhaps this forum thread might be of more assistance as a reference.

    Thread Starter colt0155

    (@colt0155)

    Ок

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem with canonical URL’ is closed to new replies.