Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

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

Extra .htaccess file?


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 6, 2010, 10:40 AM
paulae's Avatar
paulae
 
1,332 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 12:02 PM.


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