Rewrite URL with .htaccess
-
Hi,
I would like to use the Use Pre-Path Mode (Default, puts /en/ in front of URL) mode but it uses canonical URL what i don’t want to use due SEO problems.
So i would like to do it using htaccess but i don’t really know how to do it.
Now my urls look like: https://www.entraraltop10.com/que-fem/?lang=CA
I would like them to look like: https://www.entraraltop10.com/CA/que-fem/In my .htaccess I have the next code:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Which code should i add here?
Hope you can help me soon, thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Rewrite URL with .htaccess’ is closed to new replies.