Doesn't work when WP is in a subdirectory
-
As already mentioned by another user, when the WordPress installation is in a subdirectory (mysite.com/subdir) and configured to be accessed through the root URL (mysite.com) by setting:
- WordPress Address (URL) = mysite.com/subdir
- Site Address (URL) = mysite.com
the plugin fails to work ??
—
Trying to login via: mysite.com/mykeyword
shows the login screen fine, but after clicking the Log In button, one gets the Not found error message:
“You tried going to mysite.com/subdir/mykeyword, and it doesn’t exist.”So the only way to login is by disableing the plugin via FTP and then going to:
mysite.com/subdir/wp-login.php—
Trying to logout via the WP logout link, which shows:
mysite.com/subdir/mykeyword?action=logout&_wpnonce=etc
also returns a Not found error message:
“You tried going to mysite.com/subdir/mykeyword?action=logout&_wpnonce=etc, and it doesn’t exist.”So, to logout one has to actually use the following URL:
mysite.com/mykeyword?action=logout&_wpnonce=etc—
If WP is installed in the root directory or in a subdomain, the plugin works great!
- The topic ‘Doesn't work when WP is in a subdirectory’ is closed to new replies.