I use an htaccess file to route the url requests. my htaccess codes are:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^(.*)/$ $1 [R=301,L]
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{QUERY_STRING} ^lang=(.*)$ [NC]
RewriteRule ^([^.*]+)/?$ ./index.php?url=$1&lang=%1 [L,QSA]
RewriteRule ^([^.*]+)/?$ ./index.php?url=$1&lang=en [L,QSA]
I use it before on another host and that worked correctly but now I moved the website to another host and I getting a 500 error. How can I solve this? thanks...