BUG Revealing login page name when wordpress has it's own directory

sufi

New member
Messages
2
Likes
0
Points
1
#1
Hello,

I am using the Hide login page (latest version) plugin with Clearfy. It works fine, on normal wordpress installation. But if I give wordpress it's own directory (Giving WordPress Its Own Directory « WordPress Codex), it causes problem.

This is how everything is setup:
website home: domain.com (home_url())
wordpress url: domain.com/aaa (site_url())
new login page name: secret

This is what happens:
if I visit (when not logged in):
domain.com/wp-admin/ - redirects to domain.com/aaa/404 (should be domain.com/404 )
domain.com/aaa/wp-admin/ - redirects to domain.com/aaa/404 (should be domain.com/404 )
domain.com/wp-login.php - redirects to domain.com/404 (as expected)
domain.com/aaa/wp-login.php - redirects to domain.com/aaa/secret/ (revealing login page name)

Everything works fine, when home_url() and site_url() is same (no separate directory for wordpress).

Kindly check this.

And many thanks for the great plugins.