• Resolved goody317

    (@goody317)


    Hi, not sure how this happened but I ran an audit on my website and it shows redirects of all my pages which end without Trailing Slash and redirects them to the same page ending with Trailing Slash on URLs.

    I check on Google site:websiteurl.com and it shows me all indexed pages and they all have trailing slash at the end. So no url without a trailing slash is indexed.

    If I run a redirect checked (example with https://httpstatus.io/) it shows me X-Redirect-By WordPress when I search for an url on my site without a trailing slash.

    Example:

    (301) htts://websiteurl.com/my-page
    (200) htts://websiteurl.com/my-page/

    Regardless of how this happened, is there any way I can remove these redirects? where are they located within wordpress – I don’t have an seo plugin so I guess it was via permalinks? I just don’t know how to remove these redirects so that they stop appearing on my audits via Screaming Frog or Semrush, etc.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Wait a minute…

    So you’re saying…

    — You want to have your pages at htts://websiteurl.com/my-page
    — And if someone specifically visits htts://websiteurl.com/my-page/ (ie with the trailing slash), you want to treat this as an error and give them 404-not found instead of showing them the page?

    It seems to me you’re putting so much blind trust into these “audit” tools.

    In any case…

    https://www.screamingfrog.co.uk/seo-spider redirects to https://www.screamingfrog.co.uk/seo-spider/

    https://www.semrush.com/features redirects to https://www.semrush.com/features/

    If this were to be such a terrible thing, why are the very tools you’re using to run this “audit” doing exactly the same thing you’re complaining about?

    Thread Starter goody317

    (@goody317)

    I found the mistake, sorry – I was linking manually without / at the end and thus it was detected by these audit softwares. Such a silly mistake, I hope nobody makes.

    • This reply was modified 4 years ago by goody317.
    • This reply was modified 4 years ago by goody317.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trailing Slash on URLs’ is closed to new replies.