On Celebrating 15 years of Excellence Enjoy Upto 70% OFF *

* Limited Time Offer

We're here to help

Since 2005

Home REGISTER
The Email Shop
  • Web Hosting
    Windows Hosting Linux Hosting Small Business Hosting WordPress Hosting Asp net hosting Linux Cloud Hosting Cloud Hosting Windows Ecommerce Hosting
  • Server Hosting
    VPS Hosting Dedicated Server Hosting Secured Server Colocation Cloud Server Hosting
  • Server Colocation
  • Email Hosting
    Secure Email Hosting Hosted Exchange
  • Specials
    Website Security Solutions SSL Certificates Website Builder Online Marketing Search Engine Optimization UK Google Adwords Email Marketing Social Media Marketing Company UK
  • Contact
    Why Us… Mission and Vision Help Center Blog

Knowledgebase

  • Portal Home
  • Knowledgebase
  • SiteWorx (Control Panel)
  • Security
  • How to disable directory browsing using .htaccess?

How to disable directory browsing using .htaccess?

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

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to protect your .htaccess file?

For security purpose we recommended you to prevent access to your .htaccess file from unauthorized access.Add this code to your .htaccess file:# .htaccess protectionorder allow,denydeny 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 your selected IP to your admin directory. You just need to create an .htaccess file in the directory...

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 line to your .htaccess file.order allow,denydeny from IP-ADDRESSallow from allReplace "IP-ADDRESS"...

We're here to help.

99.9% UPTIME GUARANTEE

EMAIL US

CHAT LIVE

Web Hosting

PHP Hosting
Web Hosting
Linux Hosting
Windows Hosting
WordPress Hosting
Asp dot Net Hosting
Ecommerce Hosting
Linux Cloud Hosting
Windows Cloud Hosting

SERVER HOSTING

VPS Hosting
Server Hosting
Cloud Server Hosting
Dedicated Server Hosting
Secured Server Colocation

DOMAIN SERVICES

Domains
Email Domains
Domain Transfer
Domain and Hosting

EMAIL HOSTING

Email Hosting
Email Hosted Exchange

COMMUNITY

Blog
FAQs
Forum
How-To
Help Center
System Status

THE EMAIL SHOP

News
Why Us
Contact Us
Who We Are
ICANN Policy
Nominet Policy
Mission and Vision
Cookie & Privacy Policy
cards

COPYRIGHT © 2020 THE EMAIL SHOP. ALL RIGHTS RESERVED.

SUITE 18, PARKER HOUSE, MANSFIELD ROAD, DERBY, DE21 4SZ

© 2025 The Email Shop. Privacy Policy   About us

Title

Loading...
Loading...

Generate Password

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