• Resolved luismoyano

    (@luismoyano)


    I’m having lots of 404 errors because redirection since the last update. I check the redirection with redirectli, and everything is fine, no error at all. What can I do to check what happens? I’m talking about around 200 404 errors on pages that were working perfectly since a week ago!

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

    (@johnny5)

    Can you give an example?

    Thread Starter luismoyano

    (@luismoyano)

    Hi, I want to keep my website URL private here. But I can send you an example to whichever email you want to give me. I’ve just added one redirect to my htaccess file, and it’s working perfectly. So, it’s the redirection plugin, not the server.

    Thread Starter luismoyano

    (@luismoyano)

    I have exported all the urls from redirection to my htaccess, and I have discovered one thing.

    Is there any reason why the first syntax works with some URLs but with not others, but the second syntax works perfectly with all of them? I’m using 325 redirected URLs at this moment, and have not updated my server in the last 2 years as far as I know.

    1. RewriteRule ^old-url/$ https://new-url/ [R=301,L] (NOT WORKING)
    2. Redirect 301 /old-url/ https://new-url/ (WORKING PERFECTLY)

    Plugin Author John Godley

    (@johnny5)

    Why did you export them to .htaccess?

    The second format is not used by the plugin.

    My contact details are in the plugin and on the support site (https://redirection.me)

    Thread Starter luismoyano

    (@luismoyano)

    Hi John,
    You should see an email in your inbox. Now it’s working correctly, but not with the syntax redirection uses, which is so weird because I never had problems with your plugin before!


    Thank you for your fast answer!

    Thread Starter luismoyano

    (@luismoyano)

    Hi, I checked many things but still needed help with the plugin. I installed another previous version that didn’t help either. I deactivated the caching plugins, and it’s still not working.

    In a previous message, I told you that this syntax (RewriteRule ^old-url/$ https://new-url/ [R=301, L]) didn’t work, but it works, but you must write it right after the code generated by FlyingPress, and before the ending </if module> tag inside htaccess. Otherwise, it doesn’t work.

    So, at this moment, unless you give me some idea about how to solve it, I have deactivated redirection. Instead, I have written all my redirected URLs in the htaccess with the second syntax (redirect 301 /old-URL/ https://new-url/ ) to avoid that if I deactivate FP, all then redirections are removed from htaccess.

    Any idea about what is happening? Until yesterday or the day after, everything was working perfectly!

    Thanks ahead!

    Thread Starter luismoyano

    (@luismoyano)

    I could finally solve the issue. It was totally my bad; well… it was a plugin.

    But, maybe as a developer, I tend to look for the most complicated path to solve issues. A regular guy would have deactivated plugin by plugin to see if the problem was fixed. OMG!

    Finally, I found some buttons clicked in a plugin (no idea why did happen) that completely deactivated several plugins in the front end, not only redirection. Now, everything is back to normal, so I deactivated all the redirections in my htaccess.

    Thanks John for your kind help debugging this, and for such an amazing plugin!

    Thread Starter luismoyano

    (@luismoyano)

    Solved!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Redirection is not working properly since then last update’ is closed to new replies.