I have problem with rewrite in .htaccess
I want to this link
http://www.mysite.com/index.php?lang=1
look like this link
And it should be for every .php file to be like that
I have this so far:
RewriteEngine On
RewriteCond %{THE_REQUEST} ^\w+\ /(.*)\.php\ HTTP
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule .* $0.php
and it work when is not with ?lang=1
thx in advance...