Forum Moderators: phranque
WordPress address (URI): http://www.example.com/blog
Blog address (URI): http://www.example.com
Recently I installed PHPList in a sub directory. It's address is as below,
http://www.example.com/lists/newsletter/
The problem I have is, WP shows its 404 error page for some URLs in folder 'newsletter'. I suspect this is due to the ReWrite rule WP has employed. In root directory .htaccess, the rules are as below,
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
How can I avoid 'lists' folder from above rules. I found a post about using 'RewriteCond' to do this,
[webmasterworld.com...]
But I was unable to get it done yet.
Can anyone please tell me exact steps to follow
and exact code to paste?
Jim
I added the rule, now whole thing is as below,
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog
RewriteCond %{REQUEST_URI}!^/lists
RewriteCond %{REQUEST_FILENAME}!-f
RewriteCond %{REQUEST_FILENAME}!-d
RewriteRule . /blog/index.php [L]
</IfModule>
# END WordPress
But still WP 404 error page is shown for some urls
under lists folder?