301 redirect language not working opencart

Avatar
  • Answered
I did a 301 redirect so that when not using www it is automatically added in. Now when I goto the site and select a language from the drop down and it does not work and I get a "page not found error". I had to remove the redirect completely. What is wrong within my code. I am using SEO URLS in Opencart.
RewriteBase /
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
Avatar
JeffMa
Could you clarify what page it goes to when SEO URLS are turned on versus when it is turned off If the only change with and without the www when you try to go to the translated page?