If no language parameter is present in the url of my site, I'd like to force a redirect to the English version of the site. My urls are as such:
http://localhost:8888/site_name/products http://localhost:8888/site_name/products/a-nice-product
etc
If there is no "en", "fr" or "nl" after /site_name/ id like htaccess to redirect it to whatever the current url is BUT with an "en" added after /site_name/.
How would one go about this with an .htaccess file?
The current .htaccess rules are
RewriteEngine On
RewriteBase /site_name/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteRule ^(.*)$ /site_name/index.php?$1 [L]