Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » Running WordPress » Installing & running WordPress »

Extra .htaccess file?

Old Jun 6, 2010, 11:40 AM
paulae's Avatar
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
On my main site, I have Wordpress running in a subfolder, as in http://mainsite.com/wp/

I notice that there is an .htaccess file in the root as well as in the WP folder. The one in the root is:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress
, which is identical to the one in the WP folder. Do I need both of them? Is the root one there because index.php is in the root, essentially pointing to the WP installation as the core of the site? I did it this way because we have many years of legacy HTML files branching from the root, as well as the WP installation.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Missing .htaccess file? agallia Installing & running WordPress 2 Mar 9, 2010 11:30 AM
Which .htaccess file? paulae Installing & running WordPress 1 Feb 28, 2010 05:54 PM
my htaccess is empty cosmiclove New Versions, & Updating 0 Jul 25, 2009 04:33 PM
Where is my .htaccess file? andyhugh Page & Category Menu Bars 1 May 7, 2009 01:32 AM
[SOLVED] What / Where IS the .htaccess file ???? Shepherd Jim Installing & running WordPress 4 Mar 13, 2009 07:08 PM

All times are GMT -6. The time now is 06:27 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.