.htaccess rules for two blogs in same server
-
Hello everyone,
I have two blogs running on my website with the following URLs
http://www.esanctorium.com/blog/
http://www.esanctorium.com/photoblog/The .htaccess file is located in the root folder, i.e. http://www.esanctorium.com/ and this is how it looks:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule><IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /photoblog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /photoblog/index.php [L]
</IfModule>Now the /blog/ works fine and all permalinks work fine. However the /photoblog/ permalinks have issues, like if you go into /photoblog/ and click on “about” link, the about page of /blog/ opens insted of /photoblog/, same goes with catagories.
How can i fix this problem.
Appreciate all your help.
Cheers.
The topic ‘.htaccess rules for two blogs in same server’ is closed to new replies.