Social Media Marketing
SEO Basics & Ranking
Guest Posting Sites
Submit Your Blog
₹ Reward Program
Keyword Volume Checker
Search Result Keywords
Question Keyword Suggestions
Marketing Keyword Suggestions
A-Z Keyword Suggestions
Alexa Rank Checker
Guides & Reviews
Sep 05, 2021
How to disable directory browsing in WordPress
Leave a Reply
To leave a comment, please
Disabling it is not a difficult task. All you need to do is add one line of code to your .htaccess file. This .htaccess file is found in the root folder of your site.
To edit it, first login to your hosting's cPanel. After that go to the root directory. Here you will see your .htaccess file.
Apart from this, you can edit the .htaccess file by connecting your site to FTP.
You have to paste the below code in your .htaccess file.
Click on the Save changes button to store the changes made in the .htaccess file.
Congratulations! You have disabled Directory Browsing on your site.
16 days ago
Why Permalink Structure Should Be Changed
How to Disable Trackback and Pingback from Old WordPress Posts
How to Disable WordPress Gutenberg Editor
Can I use WordPress without using Blog Features?
What is XML and its uses?
How to Add live chat in WordPress Blog?
How to Add Links to WordPress Buttons
What is wp-config.php in WordPress?