Opencart Redirect “index.php?route=common/home” to main page

We thought we would share with you a nice way to clean up your home page URL when using Opencart.

For example the standard Opencart home page is defined as:-

For SEO reasons and to look nice and clean, it is good to set up a 301 redirect to the main domain name which would make the home:-

To do this you can use .htacess and simply add the following:-

RewriteCond %{QUERY_STRING} ^route=common/home$
RewriteRule ^index\.php$ http://%{HTTP_HOST}? [R=301,L]