AKV WEB SOLUTIONS
  • 0 Shopping Cart
  • Home
  • Store
    • Browse All
    • Enhance Panels
    • Point of Sale Servers
    • Cpanel Hosting
    • Windows VPS Servers
    • Linus VPS Hosting
    • Software Services
    • Wordpress Express
    • NGO Softwares
    • SSL Certificates
    • Site & Server Monitoring
    • VPN
    • Website Security
    • SEO Tools
    • Professional Email
    • XOVI NOW
    • E-mail Services
    • Site Builder
    • Website Backup
    • Website Builder
    • SocialBee
    • Register a New Domain
    • Transfer Domains to Us
  • Announcements
  • Knowledgebase
  • Network Status
  • Contact Us
  • More
  • Account
    • Login
    • Register
    • Forgot Password?
  1. Portal Home
  2. Knowledgebase
  3. Security
  4. How to disable directory browsing using .htaccess?

  Categories

4
Backup/Restore
24
cPanel - Control Panel
11
Databases
6
DNS - Nameserver
10
Domain Management
11
Email
9
FTP
6
Installing a Control Panel
8
Mail Filters & SPAM
11
Mobile
3
Others
10
Security
60
SiteWorx (Control Panel)
79
Softaculous
19
SolusVM
5
SSL
17
Wordpress

  Categories

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket

How to disable directory browsing using .htaccess? Print

  • 0

For security purposes, we recommend that you to disable directory browsing on your website so no one can see the files/folders of your website.
You can disable Directory Browsing by adding this line to your .htaccess file.

Options -Indexes


Was this answer helpful?

Related Articles

How to protect your website's images from an external website? External Website can use < img /> tag to display an image from your site somewhere else on... How to protect your .htaccess file? For security purpose we recommended you to prevent access to your .htaccess file from... How to restrict directory access by IP address? In order to secure your admin area from hackers, we recommended you to allow access only from... How to ban any IP Address via .htaccess? If someone is trying to hack your website or you want to block their IP Address, you can add this... How to blacklist an IP Address to deny it access to your website? You can lock directory with a password by using cpanel "Password Protected Directories" option.1....
« Back

  Support

  My Support Tickets   Announcements   Knowledgebase   Downloads   Network Status   Open Ticket
  • Contact Us

Copyright © 2026 AKV WEB SOLUTIONS. All Rights Reserved.


Loading...
Loading...
Choose language
العربية
Azerbaijani
Català
中文
Hrvatski
Čeština
Dansk
Nederlands
English
Estonian
Persian
Français
Deutsch
עברית
Magyar
Italiano
Macedonian
Norwegian
Português
Português
Română
Русский
Español
Svenska
Türkçe
Українська

Choose Currency

$ USD
₹ INR
kSh KES
₦ NGN

Generate Password

Please enter a number between 8 and 64 for the password length