Subdirectory Htaccess

Hi all!

I’ve a problem:

I made a blog in Wordpress, and I upload it in a subdirectory of Yii project path, when I go to www.sito.it/blog it works, but if I go to www.sito.it/blog/post-1 it makes 404 error by Yii.

In blog directory there is this htaccess file:

[font="Courier New"]# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

Rewritebase /blog

RewriteRule ^index\.php$ - [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]

</IfModule>

END WordPress[/font]

How can I solve this problem?

Thank you very much,

regards

Shouldn’t it be post/1 not post-1? Can you show us your url manager rules from the config file?