Password Protect wp-admin

Posted in: Newsmag
Post count: 1

Hi folks. So on the advice of the guys at TagDiv, I pasted the following code into the .htaccess folder in wp-admin:

<Files admin-ajax.php>
Order allow,deny
Allow from all
Satisfy any
</Files>

The idea was to be able to password protect my WordPress login page without messing up ajax. Now it did solve the problems on the front end of the site. Ajax worked just fine. However, I still couldn’t access my login page after putting in this code. It kept saying that the redirect failed. I’m confused, and I’d appreciate any help you could offer! Thanks a ton!

Post count: 9544

Probably want to google this topic, as widely discussed online and not theme specific.

Post count: 6600

Hi STCowboy,

Could you please provide more details about the redirect failed issue and notification you get when accesign your admin login so I can document on it.

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.