We talking about Cloud
Web Hosting & Cloud Services
Celebrate the power and freedom of Open Source
with Open Source Cloud Servers starting at only £10/mo £5/mo.
Web Hosting & Cloud Services
Celebrate the power and freedom of Open Source
with Open Source Cloud Servers starting at only £10/mo £5/mo.
The .htaccess file is a special Apache file that adjusts the way your website behaves. You can edit the existing .htaccess file on your site, or you can create a new text file in any directory and name it .htaccess.
The .htaccess file is already protected and forbidden to browsers. To be sure, double check that the file is named “.htaccess” and not “htaccess” or “htaccess.txt”. The file must start with a dot.
You can delete the .htaccess file, but it will reappear immediately as a blank file. DigitalBerg has default directives which will always be in place, unless you create your own directives to overrule ours.
Even if you erase and remove the .htaccess file, HostGator uses this code as a default.
You can override those defaults by creating your own rules.
The following articles may open external websites and are for reference only. Please note that HostGator cannot offer direct support for the information provided below.
For examples of common .htaccess codes, please see the following article: