• Resolved serhio

    (@serhio)


    I want to install WP in 3 languages: en, ro, ru

    mysite.com/en
    mysite.com/ro
    mysite.com/ru

    I installed WP in the root folder. Now I need to redirect visitors to default language. Say “en”.

    Now, how do I redirect the site to the “/en” folder?

    knowing that my .htaccess have already the following:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

Viewing 1 replies (of 1 total)
  • Thread Starter serhio

    (@serhio)

    resolved as ridirecting from the main site “/” index.php page.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirect multisite to /en/’ is closed to new replies.