Knowledge Base

Date
August 28, 2023
Category
Security, SiteWorx (Control Panel)

How to Disable Directory Browsing Using the htaccess Rule

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

Related: browsing, security

Share this Post
frame frame

Supercharge Your Website!

Lightning-fast Speed, Robust Security, and Expert Support.

migrate