Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Installing & running WordPress (http://forum.bytesforall.com/forumdisplay.php?f=6)
-   -   Extra .htaccess file? (http://forum.bytesforall.com/showthread.php?t=7463)

paulae Jun 6, 2010 10:40 AM

Extra .htaccess file?
 
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:
Code:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# 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.


All times are GMT -6. The time now is 01:19 PM.

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