2nd WP Install in subdirectory
-
Hi,
have a WP install at lets sayblog.com
Want to make a separate install
blog.com/en
to run another language version
After installing into /en have some troubles with redirects or logins. (“site url” and “WordPress url” are “blog/en”, )
for blog/ I have .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>for blog/en
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /en
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /en/index.php [L]
</IfModule>but I get redirects from blog/en/wp-login.php after entering login and pass to blog/ with 404 error.
in case I define in WP-config of blog/en again my “site url” and “WordPress url” I don’t have redirect but can’t login.
Any ideas?
Tried some hacks to .htaccess of blog/ like adding:
RewriteCond %{REQUEST_URI} !^/en
but it didn’t help.
- The topic ‘2nd WP Install in subdirectory’ is closed to new replies.