Post by tabermacccs » Tue May 02, 2017 1:44 pm

Need this fixed quickly. If anyone has knowledge and can help, let me know.
------
I am moving my store back from Shopify. I am trying to redirect all products from their shopify paths:
mydomainname.com/products/productnamehere
to the new path on opencart
mydomainname.com/productnamehere

My htaccess redirect looks like as follows:
RewriteRule ^products/$ http://www.mydomainname.com/ [R=301,L]


RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/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]
The url will come out as:
h--p://mydomainname.com/productnamehere?_route_=products/productnamehere
Does anyone have any clue how to fix this? I have just moved and don't want to be penalized for all the page errors.

I have tried everything on this page to no avail: http://forum.opencart.com/viewtopic.php?t=138549

Using version 2.3.0.2

Newbie

Posts

Joined
Tue May 02, 2017 1:36 pm

Post by shahid21290 » Tue May 02, 2017 6:40 pm

HI

please check this extension useful for you.
https://www.opencart.com/index.php?rout ... n_id=28756

Thanks

For quick, professional OpenCart support please email scf8127@gmail.com


User avatar
Newbie

Posts

Joined
Fri May 03, 2013 8:32 pm
Who is online

Users browsing this forum: No registered users and 14 guests