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?


 
Prev Previous Post   Next Post Next
  #1  
Old Jun 6, 2010, 10:40 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
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.
 

Bookmarks

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 10:30 AM
Which .htaccess file? paulae Installing & running WordPress 1 Feb 28, 2010 04:54 PM
my htaccess is empty cosmiclove New Versions, & Updating 0 Jul 25, 2009 03:33 PM
Where is my .htaccess file? andyhugh Page & Category Menu Bars 1 May 7, 2009 12:32 AM
[SOLVED] What / Where IS the .htaccess file ???? Shepherd Jim Installing & running WordPress 4 Mar 13, 2009 06:08 PM


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


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