• Resolved Sculley

    (@sculley)


    Hi there, we’re getting this error message: https://www.dropbox.com/scl/fi/076vqoskkpdsjy4y8kfgd/redirection-error.png?rlkey=x1eudd4hqh87fpivf16tkdl7p&dl=0. We’ve tried everything to clear it.

    We cleared server and Cloudflare cache.
    We paused Cloudlfare to see if error was on hosting side.
    We restarted Varnish and Redis and Memcache
    We cleared the JS file from the CF cache
    We deactivated plugin and reactivated it.
    We’ve checked on an incognito browser

    Nothing is working.

    The only thing left to do is to delete the Redirection plugin and add it back. Before we do that, we wanted to be sure it will keep all the settings and redirects.

    Any advice or solutions?

    Thanks much in advance and thanks for your plugin!

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

    (@johnny5)

    You can open the JavaScript file yourself and will probably see it still has the wrong version number in it. Something is caching that.

    Deleting the plugin through WordPress will delete all the data. You can maybe export the data and then re-import, but I don’t think it will help much. Maybe if you put the JS URL in https://redirect.li/ it might show what other caches are being applied.

    Thread Starter Sculley

    (@sculley)

    We checked the JS file via sFTP and it says 5.4.1 but the plugin version in > WP admin > plugins shows 5.4.2.

    JS file on server via sFTP: https://www.dropbox.com/scl/fi/74kw4tjbewf3eur75lv14/redirection-js-version.png?rlkey=51bvaun5561n5s9ztvrrp47ff&dl=0

    Plugin version: https://www.dropbox.com/scl/fi/y9lwohdanv3fke3n1rtp9/redirection-plugin-version.png?rlkey=rvw6esvy3d3cnbdmpxkibtbi3&dl=0

    We checked the JS file version in the current download on WP.org and it’s 5.4.2.

    Why does the plugin show 5.4.2 yet the JS file is 5.4.1? And why is it not updating?

    Also, just a reminder, we can’t get into the admin screen so we can’t import/export and we don’t want to lose the settings and redirections.

    • This reply was modified 1 year, 1 month ago by Sculley.
    • This reply was modified 1 year, 1 month ago by Sculley.
    • This reply was modified 1 year, 1 month ago by Sculley.
    Plugin Author John Godley

    (@johnny5)

    Why does the plugin show 5.4.2 yet the JS file is 5.4.1?

    I cannot possibly say. The version available from WP.org is 5.4.2, and the version in Github is 5.4.2. Nobody else has reported this problem so it seems specific to your site. Is it possible that something went wrong during the last update and the file was not updated? Or maybe someone updated the file with an older version?

    You could try updating the file manually (https://github.com/johngodley/redirection/blob/trunk/redirection.js). Deleting the directory and re-installing should also be possible (not deleting from WP itself). This won’t delete any data.

    Thread Starter Sculley

    (@sculley)

    We replaced the whole directory and just the JS file and we are still getting the error.

    When we replaced the whole directory, the redirects no longer worked. But when we replaced the JS file only, the redirects worked.

    We checked the JS file on the server and it is now 5.4.2

    We also looked at the redirection.php file on the server and it’s Version: 5.4.1. Do we need to replace that too? And any other files?

    What’s next?

    • This reply was modified 1 year, 1 month ago by Sculley.
    • This reply was modified 1 year, 1 month ago by Sculley.
    Plugin Author John Godley

    (@johnny5)

    The redirects will continue to work regardless of the JS file.

    Does the file match the expected version? If it doesn’t then you will need to make sure it does match, and that your browser can request that version.

    You appear to use several forms of caching. The JS file is cached busted with each version of the plugin. I don’t know if there’s much more I can add to help here.

    Thread Starter Sculley

    (@sculley)

    Using incognito (Chrome) and another browser (FF) worked. We can now see the redirects.

    We tried incognito yesterday and it didn’t work. The only thing we’ve changed is the JS file so that changing that file worked.

    We noticed that the read.me and redirection.php files are 5.4.1. We didn’t overwirte them. Is that a problem?

    Are there any other files we need to overwrite?

    • This reply was modified 1 year, 1 month ago by Sculley.
    • This reply was modified 1 year, 1 month ago by Sculley.
    Plugin Author John Godley

    (@johnny5)

    I have no idea how your files could get into such a state. The readme doesn’t affect anything, and I dont think the redirection.php file has changed so that should be ok as well. Hopefully the next update will update the files properly.

    Thread Starter Sculley

    (@sculley)

    Yes, hopefully.

    I’m not sure either. I just contacted the host to check on some things to hopefully resolve it. Thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cached Redirection detected’ is closed to new replies.