Issues with subdirectory / rewritebase
-
[ Moderator note: moved to Fixing WordPress. ]
So this is my current domain setup: domain.com/dir1/dir2/
Domain.com (Drupal) – works fine
/dir1/ (WordPress1) – works fine
/dir2/ (WordPress2) – doesn’t seem to obey rewrite baseI have a .htaccess file in the root of dir2 telling it the rewrite base of /dir1/dir2/.
But when I try to access relative paths, for example /wp-content/uploads/image.jpg, it resolves to domain.com/wp-content/uploads/image.jpg instead of domain.com/dir1/dir2/wp-content/uploads/image.jpg.
The theme developer used <?=$root;=?> which seems to resolve correctly to the theme directory.
Any suggestions to help set the root directory correctly with htaccess or can I not nest WordPress installation directories?
- The topic ‘Issues with subdirectory / rewritebase’ is closed to new replies.