For security purposes, we recommend that you disable directory browsing on your website.
A one-line .htaccess fix only works on a host that lets you edit the file. HostingB2B web hosting plans include .htaccess access, so you can disable directory browsing yourself. Live monthly prices start at €5.99. At the time these boxes were built, the plans were labelled Out of stock, so the buttons go to the product page.
That is so no one can see the files/folders of your website.
Only thing you need to do is add this line to your .htaccess file.
Options -Indexes
Web hosting plans (live prices)
These are the live monthly prices on the HostingB2B web hosting page. Power is marked Recommended there. At the time these cards were built, the page labelled the plans Out of stock, so each button goes to the product page rather than a checkout URL.
Web Hosting ECO
Start slow, grow fast
€5.99 /month
- Websites · 1
- Email · 1 address
- Storage · 1 GB SSD
- Bandwidth · 10 GB/month
- SSL · Free SSL
MOST DEPLOYED
Web Hosting Power
Web hosting for business
€18.00 /month
- Websites · 5
- Email · 5 addresses
- Storage · 5 GB SSD
- Bandwidth · 50 GB/month
- SSL · Free SSL
Web Hosting Pro
Hosting for growing sites
€24.99 /month
- Websites · 10
- Email · 10 addresses
- Storage · 10 GB SSD
- Bandwidth · 100 GB/month
- SSL · Free SSL
That is all!
Have a question about .htaccess or web hosting? Chat with HostingB2B support on Telegram.
Visit our blog for more knowledgebase articles !
Host the site on a plan that lets you edit .htaccess
Review the live web hosting plans and current availability, or ask our team which plan fits the site you want to lock down.
The post Disable directory browsing using .htaccess appeared first on HostingB2B.







