Hello,
I have wordpress1 installed to domain.com
When i setup wordpress2 to domain.com/en/ all links keeps redirecting to domain.com
For wordpress2 i created virtual host:
Document root: /home/username/public_html/en
Domain name: domain.com
Domain alias: en.domain.com
With the rewrite rule:
Is the rewrite rule correct?
Thanks.
I have wordpress1 installed to domain.com
When i setup wordpress2 to domain.com/en/ all links keeps redirecting to domain.com
For wordpress2 i created virtual host:
Document root: /home/username/public_html/en
Domain name: domain.com
Domain alias: en.domain.com
With the rewrite rule:
Code:
# BEGIN WordPress
<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>
# END WordPress
Thanks.