How To Change .htaccess File Name

Hi Friends, I think this article title is looking very surprised to you because when i knew this thing I also was little bit surprised that we can change .htaccess name and get it worked by assigning other name like ‘.configuration’ or ‘.serverconfig’ or ‘.urlrewritefile’ , So if you want to change .htaccess file name and get it worked by other name then you have to edit your server https.conf file and you have to add one line by which you can change .htaccess file name for your server.

You just have to add below line in https.conf file :

AccessFileName [filename]

Now example :

AccessFileName .configuration

After adding this line to your https.conf your site will use .configuration file instead of .htaccess.

I hope this post helpful for someone. If you have any question then you can ask me anytime or post it in comment.

Also I am PHP Freelancer, Freelance PHP Developer having more than 4 years of experience, So if you want to do any projects then you can contact me.

Hostgator Hosting in 1 Cent Coupon Code – “1CENTHECOUPON” (Without Quotes).

Subscribe to PHP Freelancer

Enter your email address: