How to enable redirection on a site with BASIC Authentication?
-
I have installed the Redirection plugin on both my development and production environments.
In the production environment, where there are no IP restrictions or BASIC authentication, the redirection works smoothly without any issues.
However, in the development environment, it seems that the presence of BASIC authentication might be causing an issue as the redirection does not work properly.
Here are the details of my testing:
_________________________________________
Source URL: /test123/
Target URL: /test456/
HTTP Code: 302 (Temporary)
In the production environment, the redirection works as expected:
302 /test123/ -> 404 /test456/
In the development environment, Redirect won’t work.
401 /test123/
redirect.li said the following error.
[An error page was returned. This is unlikely to be a problem with Redirection.]
_________________________________________
All other redirection settings are left at their default values. I have also chosen the default redirection engine (WordPress).
I understand that testing redirection behavior on redirect.li might not be feasible, but I’m eager to resolve the issue of redirection not functioning in practice.
While manually adding the redirection rules to .htaccess does work, I’d prefer a solution where the site operator (not the developer, which is me) can set up and confirm the redirection using this plugin in the development environment.
Could you please advise on the necessary configuration steps to ensure that redirection functions in the development environment as well? Your assistance would be greatly appreciated.
Thank you in advance!
The topic ‘How to enable redirection on a site with BASIC Authentication?’ is closed to new replies.