Home Rewrite in HTACCESS
 Can anyone help me here? I did a rewrite for the english version of my site. It's was mysite.com/?lang=en And now it's mysite.com/en/ I've tried redirecting the URL with this : RewriteRule ?lang=en$/en/ [R=301,L]  But each time I put this line in my HTACCESS, the website goes down. ByteSlinger 2# ByteSlinger Reply to 2018-01-12 18:55:25Z  Your rewrite rule is trying to use the parameter portion of the URL. There is an existing SO answer with an example: HTAccess Rewrite based upon a Parameter Value, ignore other Parameters Perhaps something like this will help: RewriteEngine On RewriteCond %{QUERY_STRING} (?:^|&)(lang=en+).+ [NC] RewriteRule ^en$ %{REQUEST_URI}?%1 [R=302,NE,NC,L]