Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

htaccess file

May 9, 2013 by reema40

I  have a php site with all my redirects  placed  in the htaccess file. I want to install WordPress on my directory, but I am afraid that my .htaccess file will be overwritten, and end up messing up my site.
How can I avoid this? Kindly help

2 Answers

0 votes
May 9, 2013 by TopNet
WordPress install doesn’t  have a .htaccess file, so your .htaccess file will not be overwritten when you install WordPress. You should install WordPress in a subdirectory if you want to test it before and be on the safe side. Make sure you have an up to date back up, in case anything goes wrong.
0 votes
May 11, 2013 by A1-Web-Solutions

YES wordpress does use .htaccess, as do several WP plugins (like WP Super Cache et al.)

The way I suggest to go about this, is save your current .htaccess to a text file on your desktop, go ahead and install wordpress and your plugins, and then after wordpress is installed, copy your original .htaccess back to the file UNDERNEATH any rules that WordPress may have written.

Leaving a space between the WP .htaccess and your original .htaccess will make it easier to edit either of them in the future.