www.domain.nl
www.domain.com
I want to redirect everyone who uses the URL domain.com to domain.com/en_US/pagename.html.. this works with:
Code: Select all
# Link to http://website.com then redirect to http://www.website.com
RewriteCond %{HTTP_HOST} ^domain\.nl [NC]
RewriteRule ^(.*)$ http://www.domain.nl/$1 [R=301]
RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/en_US/$1 [L,R=301]
Also; "[L,R=301] " .. that "L" stands for "last rule" or something right? Could it be possible that this letters is causing the problem because of no rule is processed anymore after this line..?