.htaccess file reference list
Written by James RichardsonViews: 768
Published: Jan 24, 2013
Last Modified: Feb 4, 2013
The .htaccess files on your server are for making configuration changes to apache on a per directory basis. For more information on what the .htaccess is se our article on What is the .htaccess file and what do I use it for? The following is a list of articles that explain different uses for the .htaccess file.
URL Rewriting and Redirects
- Setting up a 301 permanent redirect via .htaccess
- How do I force the "WWW" version of my website using the .htaccess file?
- 307: How to force your Premium Website Builder website over SSL
- How to force a dedicated SSL using the .htaccess file
- How to force www or non-www in htaccess
- How to redirect your website to its mobile version
- Redirecting visitors to an Under Construction page
Security
- Restrict access with .htaccess and the IP Deny Manager
- Block unwanted users from your site using .htaccess
- How to prevent access to a specific file in htaccess
- How to prevent access to multiple file types in htaccess
- How to password protect a single file with htaccess
- How to block a country's IP ranges in htaccess
- How to password protect a single file with htaccess
- Hotlink protect files in the .htaccess and cPanel
- Restrict public access to your php.ini
Site Optimization and performance
File Handling
- How can I make my php.ini file recursive ?
- 303: Using Server Side Includes with HTML Files
- How to change your default Index page in htaccess
- Forcing a file to download in a browser via htaccess
- Removing file extensions from displaying in browser via htaccess
- How do I enable Hotlink Protection in my control panel (cpanel)?
- How do I execute PHP code in a HTML page?
Error Handling
.htaccess hacks
Miscellaneous
.htaccess Errors and issues
Like this Article?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
Ask the Community!
Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.
Current Customers
| Chat: | Click to Chat Now | E-mail: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |

