views:

249

answers:

1

Hi,

Here's what I'm trying to do: joomla in 1 subdirectory, wordpress in another.

mysite.com directs to the joomla directory

mysite.com/blog gives wordpress.

I would also like to use seo friendly permalinks for both.

I am using Zeus Linux shared hosting with Joomla 1.5 and wordpress 2.9.2, and having a great deal of trouble finding a suitable rewrite script. Any help would be very much appreciated! Thank you.

A: 

Put the WordPress .htaccess into the 'blog' directory:

RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Apache will use this .htaccess for all requests to this directory, and the Joomla rules in the main .htaccess aren’t affected by the WordPress rules.

toscho