• Something odd occurs quite frequently.

    Most of the time, when I input, for example, /page to go to /page/subpage it works when the user attempts to access both /page and /page/ (with trailing slash). This is ideal functionality.

    However, quite randomly [it seems], when the user tries to access /page/ it will take them to a 404.

    To combat this I input 2 redirections per page:
    Redirection 1: /page –> /page/subpage
    Redirection 2: /page/ –> /page/subpage

    Is there a method to this madness – a way to keep only one entry per page? Or are 2 redirections per page necessary?

    https://wordpress.org/plugins/redirection/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Same issue. I have to create 2 for every one. I’ve spent hours trying to find out why. I guess it’s easy to create two. But it just seems wrong. I’ve asked my host and they said, use another pluign.

    the bug is easy to miss!

    if you visit the target page by clicking the source first it will work

    and then if you visit the non-trailing slash it will work

    you have the visit the non-trailing slash first to get the 404

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Source URL: /page vs /page/’ is closed to new replies.