Рет қаралды 31,605
🔥Name Your Own Price🔥 for the 11-Point WP Security Checklist Smart PDF: wplearninglab....
Code from the tutorial:
BEGIN Directory Browsing Block
Options -Indexes
END Directory Browsing Block
In this tutorial I show you how to stop hackers from seeing which plugins and themes you have installed on your WordPress site. When hackers know what you have installed they also know what vulnerabilities you have on your site.
That makes it easier for them to hack your site. So for your WordPress security make sure you stop directory browsing.
So let's put that code into your .htaccess file.
First login into your hosting account cPanel. Then find and click on the File Manager icon and choose the Document Root for the website that you are hardening. This will open the root of the website in another tab.
You can also log into the website root using FTP if you are more comfortable with that.
If you do not see a .htaccess in the website right then you can make one by clicking Add New File in the File Manager or right-clicking and choosing Create New File via FTP.
Open the .htaccess file and paste the code from above into it. There is no need to make adjustments to the code. Once pasted in just save the file and you're done. This is an easy way to begin hardening your WordPress site.
I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.
--------------
If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.
wplearninglab.com/
Connect with us:
WP Learning Lab Channel: www.youtube.com...
Facebook: / wplearninglab
Twitter: / wplearninglab
Google Plus: google.com/+Wpl...
Pinterest: / wplearninglab