URI of one Wordpress install conflicting with Pods in another

0

I have Wordpress installed in the root public_html for my main site. I then created another Wordpress site in a subdirectory (a dev version for a client). When trying to view Pods Pages on the second site (the one in the subdirectory), I'm getting a 404 from the first site (the one in the root).

Any ideas on how to resolve this issue?

asked Aug 2 '10 at 8:26

jbrickman

13

add comment
enter at least 15 characters

1 Answer

0

The .htaccess from the root level install is catching and routing all requests, so you'd have to exclude that subdir. I'm no .htaccess wizard, but this might work, 3 lines added above WP default:

RewriteEngine On
RewriteBase /
RewriteRule ^subdirectory - [L]

BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress

answered Aug 3 '10 at 12:38

jackson

33

edited Aug 3 '10 at 12:38

add comment
enter at least 15 characters