Rewrite rules with two wp installations in one domain
-
I’ve been running two separate wp installations in one domain for a while, with one in the root and one in a subdirectory. It was fine until I had to turn on wp rewrites (permalinks) for the blog in the root directory. Now, I can’t access the blog in the subdirectory at all — I get 404 errors.
I’m not a programmer, but I’m competent with figuring out my website stuff. I’ve struggled to understand some of the .htaccess statements that WP creates to make the rewrites work, but I basically understand that this line tells it that it should not redirect if an actual directory exists:
RewriteCond %{REQUEST_FILENAME} !-dThat works fine for any other subdirectory in my domain, but for the one subdirectory with another installation of WordPress in it, it does not work, and I get the 404 error.
How can I fix this? I don’t want to turn off permalinks, because I need the rewrite rules to provide backward compatibility with some older blog entries using Gallery to host images.
- The topic ‘Rewrite rules with two wp installations in one domain’ is closed to new replies.