Cackephp WordPress Integration

add .htaccess file in blog root to look like this:

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteBase /

   # Disable rewriting for the wordpress blog
   RewriteCond %{REQUEST_URI} ^/blog/ [NC]
   RewriteRule    (.*) $1    [L]

   # Normal CakePHP rewriting
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>
Advertisements