How to Password Protect Your WordPress Admin (wp-admin) Directory

How to Password Protect WordPress Admin (wp-admin) URL
Tasha Peters

Now use following command to create first user in .htpasswd. cPanel users can can use their dashboard to generate this file. If you don’t have shell access, you can use online htpasswd generator it and put on your server.
Violet Ingram

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteRule ^newadmin/?$ /wp-login.php [QSA,L]
RewriteRule ^newadmin/register/?$ /wp-login.php?action=register [QSA,L]
RewriteRule ^newadmin/lostpassword/?$ /wp-login.php?action=lostpassword [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Password Protect your WordPress Admin Folder
Gregg Frank

Amit Agarwal is a web geek, ex-columnist for The Wall Street Journal and founder of Digital Inspiration, a hugely popular tech how-to website since 2004. He holds an engineering degree in Computer Science from IIT and happens to be the first professional blogger in India. He’s been profiled on Lifehacker. With 19 years’ experience in software development, Amit has authored several popular Google Add-ons that are deployed in some of the biggest companies and universities worldwide with over 250,000 installations. Download the PDF brochure to know more.

How to password protect your wordpress admin directory (wp-admin)
Angel Sanders

Each and every wordpress users know the login page that is First thing hackers try on these wordpress site is to access your site through wp-login page. If you need some extra security for your site why don’t you add an additional authentication to your login page? How to password protect your wordpress admin directory? Adding additional authentication to your login page is easy. Just follow the steps carefully in this article.

How to Password Protect Your WP-Admin Directory
My Stout

The Internet is an amazing place, but it is not well protected. It falls on the web developers to guard their website against incoming threats. There are many great security plugins like WordFence that help guard against cyber attacks. Sometimes the threat is not always that far away. It’s not a pleasant thought, but sometimes employees are not looking out for the benefit of the website. This will also keep employees from stealing or damaging sensitive information found in the wp-admin directory.

Be the first to comment

Leave a Reply

Your email address will not be published.