Things to know about .htaccess before you dive in

.htaccess files are tricky

.htaccess files are quite tricky because of how powerful they are. You can disable your entire server with one typo, so its not something to take lightly. Over at Narendra Dhami’s blog he’s written a nice little intro with warning.

Behind the Scenes with Apache’s .htaccess

First, A Word of Warning

Keep in mind that one little typo or incorrect rule within an .htaccess file can cause an internal server error and take your entire website offline. Especially if you’re new to using an .htaccess file, I highly recommend setting up a test directory to work on your .htaccess file. In addition, always make a backup of your .htaccess file before making any changes. That way, if you do happen to make a typo or other error, you can load your backup file again to keep your website up and running while you look for the source of the problem(s).

Htaccess tutorials and resources


One thought on “Things to know about .htaccess before you dive in

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s