[wp-hackers] redirects for /admin

Andrew Nacin wp at andrewnacin.com
Wed Mar 6 17:26:13 UTC 2013


On Wed, Mar 6, 2013 at 12:21 PM, Kirk Wight <kwight at kwight.ca> wrote:

> Hello,
>
> I'm working with a client that needs a redirect in our top level install
> directory for /admin, pointing to an external tool. This is causing
> problems for anyone logged in, or doing anything at /wp-admin.
>
> I'm having trouble finding info on it, but isn't there a built-in WordPress
> redirect for /admin that could be causing my problems? What would be the
> best way to disable it?


There is a redirect for /admin built into WordPress, but I doubt it is
causing your problem as it happens in PHP. If you do a redirect for /admin
at the server level (Apache, nginx), you'll avoid it entirely.


More information about the wp-hackers mailing list