Protect wp-admin via htaccess – Problem

Posted in: Newspaper
Post count: 25

I want to protect my admin directory(wp-admin) via htaccess. Unfortunately the login appears also in the front-end.
Why? How can I solve the problem?

Best regards
Sebastian

Post count: 20688

Hi,

The theme login can be disabled if that is what is needed
https://forum.tagdiv.com/login-how-to-enable-user-registration/
If the theme login is disabled the login or registration will be done via the WordPress default interface.

Thanks

Post count: 25

Hi Simon,
sorry, you didn´t understand me.
I want to protect my admin directory(wp-admin) via htaccess.
If i do so, the directory appears also on the frontend of my site.
Are there files the frontend loads from wp-admin?

Thanks

Post count: 20688

Hi,

I found this guide with useful information
http://www.wpbeginner.com/wp-tutorials/how-to-password-protect-your-wordpress-admin-wp-admin-directory/
The theme uses the admin ajax file, use the example in the guide to allow access to this file.

Thanks

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