Hi,
For my new expression engine project I need to use a particular SEO structure:
http://website.com/en/news/first-news
News is the name of my channel and first-news the name of the entry.
I want to use ‘en’ only to set a php session variable.
Now, if I type this url my EE only shows me the homepage.
I usually use this .htaccess file to remove index.php from the path
RewriteEngine On
# Removes index.php
RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]Someone know a rule to add to the existing rewrite mode to solve my situation?
Thanks,
Lorenzo