K
K
kote222021-08-02 14:29:03
htaccess
kote22, 2021-08-02 14:29:03

How to properly set up 301 redirect in opencart 3?

I'm trying to set up a redirect from site.ru/shop/category/item to site.ru/category/item

RewriteCond %{QUERY_STRING} ^_route_=shop$
RewriteRule ^(.*)$ https://site.ru/? [R=301,L]

does not work
RewriteRule ^shop/(.+)$ https://gsmedicine.ru/$1 [R=301,L]

does not work

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question