• Resolved makeusawebsite

    (@makeusawebsite)


    We have been using redirection for some time, on multiple sites, but have just hit a p[problem on one site in particular.

    I noticed that some old URLs were no longer redirecting by the plugin. For example;

    https://www.playdale.co.uk/playground/educational-play/mud-kitchen.html

    Instead of redirecting to the correct place, it’s redirceting to the homepage.

    After some testing Ive been able to establish that the plugin isn’t actually performing the redirect to the homepage. Check check says;

    Found: 301 to https://www.playdale.co.uk/

    Agent: Not using Redirection

    So I believe something is doing the redirect, before the plugin kick-ins.

    After multiple tests, I have found that ANY URL with HTML at the end is getting redirected to the homepage. even a fictitious made up URL gets redirected…

    the response of the redirect is;

    HTTP/1.1 301 Moved Permanently
    Server: nginx
    Date: Wed, 15 Dec 2021 14:43:13 GMT
    Content-Type: text/html; charset=UTF-8
    Connection: keep-alive
    X-Powered-By: PHP/7.4.26
    cf-edge-cache: cache,platform=wordpress
    X-Redirect-By: WordPress
    Location: https://www.playdale.co.uk/

    This seems to indicate something within WordPress, but there are no other cache or redirection plugins installed.

    Ive tried disabling plugins one by one, which didn’t help. Ive also tested other sites on the same server which don’t have issues.

    Does anyone know how to find out what is doing the redirect, so that I can disable it?

    Cheers

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    The message suggests that WordPress itself is performing the redirect, not a plugin. You may find help faster by asking in a general WordPress forum.

    Also, you seem to be using Cloudflare there. I don’t think it’s the cause of the redirect, but it could make things more difficult to track down.

    Thread Starter makeusawebsite

    (@makeusawebsite)

    Thanks for your help. Yes we are using CF, but we have disabled it during testing without any change. The header does indicate that rediect is being generated by WordPress, whereas it would be different in Cloudflare I believe.

    I will also give the WP forum a try.

    Thread Starter makeusawebsite

    (@makeusawebsite)

    Just to update. I have requested help in the main WordPress forums. We disabled all plugins and set to twentytwenty, and the problem still persists.

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

The topic ‘html redirecting for unknown reasons’ is closed to new replies.