title: Remove index.php?route= from OpenCart
body: <p>I'm a .NET developer but my friend called me for support.I made some changes with .htaccess but i'm corrupted SEO.</p>
  
  <p>Everything started with "www" tag on url.I see we get some errors when we are not using "www" and i'm changed .htaccess.I'm added rewrite rule and redirected mysite.com to www.mysite.com.Our problems are solved but now we have another problem.</p>
  
  <p>We are using Opencart - SEO and it's enabled.Our products seems like </p>
  
  <pre><code>http://www.mysite.com/epson-claria-uyumlu-yazici-kartus-dolum-murekkebi-500g.html
  </code></pre>
  
  <p>when we are reaching with www.</p>
  
  <p>But if i remove "www" tag on url, it seems like</p>
  
  <pre><code>http://www.mysite.com/index.php?_route_=epson-claria-uyumlu-yazici-kartus-dolum-murekkebi-500g.html
  </code></pre>
  
  <p>and it corrupt SEO.</p>
  
  <p>I want to see second url like first one.</p>
  
  <p>I'm tried play with seo_url.php , .htaccess but it doesn't change anyting.</p>
  
  <p>I'm also tried solution on <a href="https://stackoverflow.com/questions/10813809/remove-index-phproute-common-home-from-opencart">Remove index.php?route=common/home from OpenCart</a> but it's not worked for me.</p>
  
  <p>Now my seo_url.php is default, i get back my changes.And my .htaccess is </p>
  
  <pre><code># SEO URL Settings
  RewriteEngine On
  # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 
  
  RewriteBase /
  RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
  RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [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]
  RewriteCond %{QUERY_STRING} ^route=common/home$
  RewriteRule ^index\.php$ http://www.mysite.com? [R=301,L]
  RewriteCond %{HTTP_HOST} !^www\.mysite\.com$
  RewriteRule (.*) http://www.mysite.com/$1 [R=301,L] 
  
  RewriteRule ^(.*)$ index.php?_route_=$1 [L]
  </code></pre>
  
  <p>Please help me before i get crazy.I spend 3 hours for that.</p>
  
  <p>Thank you for all,
  Greetings</p>