Hi, could anyone help, please?
my wordpress site hosted on a windows server, I use ISAPI Rewrite tool to rewrite all the urls.
I installed one wordpress in my home dir for my main site, and installed another wordpress in a sub dir. the problem is that when i visit, www.mysite.com/subdir
, it would reture a 404 page, says this page is not found. I think it may be the problem of my rewrite rule. Below is my rewrite rule in httpd.ini file:
RewriteRule /tag/(.*) /index\.php\?tag=$1
RewriteRule /software-files/(.*) /software-files/$1 [L]
RewriteRule /images/(.*) /images/$1 [L]
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /favicon.ico /favicon.ico [L]
# For file-based wordpress content (i.e. theme), admin, etc.
RewriteRule /wp-(.*) /wp-$1 [L]
# For normal wordpress content, via index.php
RewriteRule /(.*) /index.php/$1 [L]
Could anyone know what I'm missing for this rewrite file and what I need to add to solve my problem? Thanks.