Common Default .htaccess Information

The .htaccess file is an Apache file that tells your website how to function; different scripts utilize different rules and conditions to serve content fluidly. This article provides you with the default .htaccess code for the most commonly used scripts.

If the .htaccess file is coded incorrectly, it can cause website errors. Please keep in mind that HostGator does not provide direct support regarding the coding of .htaccess files. 

Click on the name of the script you are using and the .htaccess code will be provided to you in a popup window.

















For more information on .htaccess files, please refer to the following articles: