N
N
nikkon822018-10-09 13:40:01
htaccess
nikkon82, 2018-10-09 13:40:01

How to set up a redirect to opencart via htaccess?

Good afternoon!
Please tell me, the 301 redirect does not work through htaccess on the opencart website.
We did it by analogy - in the same file there are already 301 redirects from the old site.
An example of a working
RewriteCond %{QUERY_STRING} ^_route_=catalog/teploobmenniki/plastinchatye-pajanye/alfa-laval/alfa-laval-cb-110/$
RewriteRule ^(.*)$ https://proteplo.org/teploobmenniki/plastinchatye -... [R=301,L]
We do the same - it doesn't work.
We have links like - https://proteplo.org/blog/?journal_blog_category_id=1
We need to redirect them to https://proteplo.org/blog/
Tell me how to do it right?

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