• Resolved yanch

    (@yanch)


    Hi,
    have a WP install at lets say

    blog.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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘2nd WP Install in subdirectory’ is closed to new replies.