Problem with relative redirects?
-
I updated to 2.6 of the plugin recently, and have been having problems since with redirects that used to work.
Firstly, I had ones that redirected from the base (https://blog.mydomain.com) to a different place, but these have now been switched to relative (/), which means that if you don’t use the trailing slash (e.g. you just go to https://blog.mydomain.com) it won’t redirect (but will if you go to https://blog.mydomain.com/), which I think used to work previously.
More pressingly though, there seems to be an issue with redirects from the root: if I have a folder redirect from “/” (the folder and its contents, include sub-folders) to redirect somewhere else (e.g. https://www.anotherdomain.com/blog/) with wildcard redirects, it seems to strip slashes from the redirect, so for example https://blog.mydomain.com/2015/03/my-post/ would be redirected to https://www.anotherdomain.com/blog/201503my-post/ – this doesn’t seem to happen if you specify a folder to redirect from (e.g. redirects from /blog/ to somewhere work fine).
Thanks,
Adrian
- The topic ‘Problem with relative redirects?’ is closed to new replies.