2.7.1 htaccess different that previous versions – concern
-
Recently I have upgraded to 2.7.1 and everything is running great although I have a question regarding mod_rewrite.
A long time ago when I did an upgrade, I had my blog directory located outside the home directory (/wordpress). I believe it was back around 2.3 and after following those instructions, this is the result of the .htaccess
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
That install ran fine and as far as I know was working correctly. This time when I did the 2.7.1 upgrade, the .htacccess file that was suggested I use was different. This install was also located in another directory (/blog). It looks like this:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /blog/index.php [L] </IfModule> # END WordPress
My concern is this is working fine but the re_write looks completely different and I do not know what it is effecting. It seems to be working perfectly fine.
My question is: Why do different ReWriteBase and ReWriteRules operate the same on installs outside of the home directory? Which one should I keep?
- The topic ‘2.7.1 htaccess different that previous versions – concern’ is closed to new replies.