Hello dear readers! WordPress protection. Today I will tell you how to protect the wordpress login page of your site, I will show it using the example of hosting the reg.ru registrar on the ISPmanager control panel.
Go to the ISPmanager panel
Go to the site directory
Select the .htaccess file, click edit →
insert lines into the file if the file does not exist create it:
AuthName “Private zone”
specify the path to the root folder of the site:
where u1234567 is your hosting login
Create a .htpasswd file Click create, file type, name .htpasswd
The file will store the login and password (in hashed form).
We pass on link.
Enter your username and password and click: « Create .htpasswd file»
Copy the created line and paste it into the .htpasswd file
press save and Ок.
he password in the htpasswd file will be hashed.
You need to enter the admin panel using the login and password that you came up with. Now, when you enter sait.ru/admin, a window will open for entering your username and password, and only after that the wordpress page for entering the site.
That’s all ! Everything is simple and affordable. All happiness, success, health!Likes, links, tweets are welcome.
Did you like the post? WordPress protection on linux hosting. Help others to learn about this article by clicking on the social media button