im redirecting my .com domain into the subdirectory "en".
This works pretty well, but only for the base domain.
For example: www.abc.com becomes www.abc.com/en.
But if i try to open www.abc.com/test1, it stays there, but should become
www.abc.com/en/test1. The subdirectory has not been applied.
Can someone tell me what to do to make this happen'?
Thats the code:
- Code: Select all
RewriteCond %{HTTP_HOST} ^(www\.)?abc\.com [NC]
RewriteRule ^$ /en [R=301,L,QSA]