• Resolved btxmatters

    (@btxmatters)


    Hello,

    Like the title suggests, we are having redirects that were set up in Redirection Plugin that where deleted months ago continuing to redirect to the old links. I’ve poured over my htaccess and there is nothing there that is causing these redirects. I’ve scoured the DB for something that might be an old table that didn’t get deleted correctly and I can’t even find the table where the plugin writes to.

    We updated from Version 2.10.1 > 3.5 recently.

    Can you please help me?

    Thanks in advance!

    • This topic was modified 6 years ago by btxmatters.
    • This topic was modified 6 years ago by btxmatters.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Godley

    (@johnny5)

    Can you provide a URL to look at?

    karemkadidola

    (@karemkadidola)

    Have Flushed your cashe on server level ?

    karemkadidola

    (@karemkadidola)

    Also try To connect To your website from a device (computer, smartphone) that has never connected To your website before) as your own device stores cookies that might not reflect updated status) what i mean is clear cashe on server level and in your own browser)

    Thread Starter btxmatters

    (@btxmatters)

    Apologies for the late update and thank you for the quick replies!

    This issue was not with your plugin at all. Instead, it was the default behaviour of WordPress trying to forward what were non-existent pages (privately published pages because they were being edited) to what its best guess what a correct URL. That happened to be an old page that was coincidently one we had redirected a URL to in the past.

    I fixed the issue by disabling WP’s auto forward feature using this bit of code:

    add_filter('redirect_canonical', 'no_redirect_on_404');
    function no_redirect_on_404($redirect_url){
        if (is_404()) {
            return false;
        }
        return $redirect_url;
    }
    • This reply was modified 6 years ago by btxmatters.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirects persisting despite being deleted months ago’ is closed to new replies.