I am using OpenCart 1.5.4 that I have install in a /products subdirectory. I have a wordpress site installed in the root directory. I have skinned them the same so it looks like the same site.
I would like to rewrite all instances of Home links (especially the breadcrumbs) to go to my root directory (rather than the sub-directory (/products) where my OC install is at).
From some research I understand that the best way to do this is in the HTACCESS file. I am very unfamiliar with manipulating the htaccess file. The standard htaccess file has these rewrite rules:
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]
How can I add a rule to change the Home link from:
www.myurl.com/products/index.php?route=common/home
to:
www.myurl.com/
Finally, in the current install this file is called .htaccess.txt. Do I have to delete this file from the server, remove the .txt , and upload the file named .htaccess to make it work?