Hi, I’ve just discovered something odd with this plugin…
I’ve just installed a brand new WordPress site, but with WordPress installed into a subfolder while the site address points to the root directory.
In other words, on my General Settings page, I have the following:
(This is a supported configuration as per http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
Everything works perfectly fine, and the site is reachable at http://www.example.com.
There are a couple of URL aliases/redirections that are built into WP core, which work like this:
These are described at http://core.trac.wordpress.org/ticket/19607 and they work regardless of whether WordPress is installed into the root folder or a subfolder. The /login and /admin aliases will always redirect to the correct location of wp-login.php or wp-admin respectively. And they work fine for me on my new WordPress installation.
However, I then installed the Root Relative URLs plugin (and no other plugins at all).
Immediately afterwards, I discovered that these alias URLs no longer work! When I log out of WordPress and then go to http://www.example.com/login for example, it just gives me a 404 error instead of redirecting to http://www.example.com/wordpress/wp-login.php like it’s supposed to.
If I disable the Root Relative URLs plugin, then log out again and go to http://www.example.com/login, it redirects correctly as it should.
So it seems this plugin is breaking the redirection somehow. But I don’t know how, or how to fix it.
- The topic ‘Plugin breaks /login redirection when WP installed in a subfolder’ is closed to new replies.