Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protecting /wp-admin and wp-login.php #9

Open
ghost opened this issue Feb 28, 2014 · 0 comments
Open

Protecting /wp-admin and wp-login.php #9

ghost opened this issue Feb 28, 2014 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 28, 2014

I wish to protect the login to a set of restricted IP addreses. I attempted to do this, but seem to get redirect loops in certain situations.

Perhaps its conflicting with a WordPress security plugin to rename /wp-login.php to /login etc.

location ~ ^/(wp-admin|wp-login.php) {
allow 1.2.3.4;
deny all;
}

Could you include a set of rules for restricting the admin sections?

Thanks,

A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants