Hi Jakob, I had a look and really don’t see a reason why it wouldn’t work. But I can confirm that the mentioned URL is not redirected.
Can you create some other redirect rule and confirm if it works? So we can rule out if this URL is problematic or all of them.
Hi there,
Thank you for reaching out to me. I’ve now created another redirect rule.
OLD URL
http://oplevspanien.dk/castilla-y-leon/villadolid.php
NEW URL
https://oplevspanien.dk/villadolid/
Still not working though. Could it be http vs https that is playing tricks with me?
Thanks
Your WP is currently configured to work on HTTPS so let’s verify that HTTP vs HTTPS is not messing with you. Try doing a redirect from
https://oplevspanien.dk/castilla-y-leon/villadolid.php
to
https://oplevspanien.dk/villadolid/
I’ve now setup that redirect and it works.
But I don’t see that solving the issue as my previous setup was without WordPress and https. Meaning old URLs indexed by Google and linked to from other websites will still return a page on oplevspanien.dk without content?
Hi,
Can you give us an example of a URL that is not working for which you have a redirect set?
Hi Alexandru,
Sure – it’s in my initial post. It setup like this:
Old URL
http://www.oplevspanien.dk/katalonien/tarragona.php
NEW URL
https://oplevspanien.dk/tarragona/
Thanks,
Jakob
Morning,
OK so HTTPS -> HTTPS redirect works, that’s good 👍
There could be a lot of things wrong that are causing the redirect not to work properly so I’d suggest the following (fastest) fix. Put in an htaccess rule that redirects HTTP -> HTTPS, and then write all your redirects as HTTPS -> HTTPS in the plugin.
Depending on your hosting setup the htaccess code might be a bit different but this should work. Make sure it’s on top of the file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
If you have a minute, please leave a review. It’s what keeps support going. Thank you 🙏 https://ww.wp.xz.cn/support/plugin/eps-301-redirects/reviews/#new-post