View Categories

How to Disable Directory Browsing Using the htaccess Rule

< 1 min read

For security purposes, you should disable directory browsing on your website so no one can see the files/directories of your website.

You can disable Directory Browsing by adding the below line to your dot htaccess file.

Options -Indexes

.ae Price
.bh Price
icon-qa
Google_Cloud_Partner_UAE
icon-microsoft
cpanel uae partner logo
icon-ripe-ncc.svg
⚡ Build a WordPress site with AI in minutes with Spark AI - On Sale 50% off this month.
This is default text for notification bar