htaccess Redirect directory name to parameter
snippet in htaccess

htaccess Redirect directory name to parameter

user2564

RewriteEngine On
RewriteBase /worldwide/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?lang=$1 [L,QSA]