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

    (@cybr)

    Hello ??

    The slashing is regulated via the WordPress permalink settings at: ../wp-admin/options-permalink.php

    Simply add a slash at the end of the “Custom Structure” there, and every URL will be led by a slash.
    Otherwise, WordPress will determine (on-the-fly) whether one’s needed or not. The SEO Framework listens to what WordPress determines.

    Please note that the browser misinforms you of this state, they add slashes as they see fit.

    Thread Starter Process of Illumination

    (@process_of_illumination)

    Hi Sybre and thank you.

    Unfortunately the rest of the pages don’t have a trailing slash, so they very likely will be seen as duplicate content, imho.

    Just like the github thread I linked, the issue is there only for the Homepage.

    Bye,

    the Process

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi Process,

    If none of the pages have a slash, then the homepage shouldn’t have one either. The browser is misinforming you: most browsers tend to “prettify” URLs so you can type more easily.

    Inspect your home page’s source, and look for this line:
    <link rel="canonical" href="...

    The href attribute shouldn’t have a trailing slash. Is this correct?

    Thread Starter Process of Illumination

    (@process_of_illumination)

    Hi Sybre, and thank you
    .
    As I wrote in the opening question, the canonical link is:

    <link rel=”canonical” href=”https://www.mysite.com/forum&#8221; />

    without the trailing slash.

    This incoherence really is a problem, I am pretty sure.

    Thank you for any idea,

    the Process

    Plugin Author Sybre Waaijer

    (@cybr)

    Hi the Process,

    Could you send me the page URL where you’re experiencing this issue? You may do so, confidentially, via my contact page. I think a manual inspection would help a lot.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Trailing slash issue’ is closed to new replies.