So… I managed to get a setup working where everything except the root URL is redirected via a REGEX, which is lovely, except it also redirects /wp-admin. I had to disable the plugin via FTP to log in.
Now I’m trying to get an exception working so it’s possible to log in. However, it seems to be clashing with the automatic WP login redirection function, so /wp-admin is redirected to newurl//wp-login.php?redirect_to=old-url%2Fwp-admin%2F[et-cetera]
(notice also the double-slash after newurl, which is not a typo, and I don’t know where that’s coming from either. I’ve run it both with and without “Ignore slash”)
Basically, it looks like the WP function is catching where to send the user after login ( = oldurl/wp-admin), but the redirection has already kicked in and sent them to the newurl/wp-login.php page. I’ve tried different position orders for the now three redirects (everything, root url exception, /wp-admin exception), to no avail.
I am testing this in a browser with caching disabled.
I can’t imagine being the first person with this problem but I’ve tried searching this forum, with no luck – any help resolving this issue will be hugely appreciated!
What am I missing…?
- You must be logged in to reply to this topic.