Admin Section for Admins only? (2 posts)

  1. danhodkinson
    Posted 5 years ago #

    Hi all,

    I have made a website using wp ecommerce, they can register and login on the front end to see their account/purchases etc but one thing i am worries about though is that anybody can go to wp-admin and log in and then see the backend (obviously they can't see much but i don't want them to be able to see anything)

    Is there any way to block access to wp-admin for anybody who isn't an admin?

  2. MickeyRoush
    Posted 5 years ago #

    You can either use .htaccess and .htpasswd to password protect the wp-admin folder, whitelisting the ajax-handler.php file (and maybe others depending on your needs) or make it easier on yourself and use a plugin like WP Block Admin:

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.