V
V
Vitaliy24102016-07-05 23:24:31
opencart
Vitaliy2410, 2016-07-05 23:24:31

Redirect not working in opencart?

Help, I'm doing a redirect by changing the name of the categories, it works on the local server, but there is a problem with the site on the hosting. Redirects don't work. Now there is such a redirect on local:
RewriteCond %{QUERY_STRING} ^_route_=men-puma/
RewriteRule (.*) http://mysite/muzhskie-krossovki-puma/? [R=301,L]
What is the reason and how to solve such a jamb? opencart version 1.5.5.1

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2016-07-06
@amfetamine

RewriteRule ^old_url$ /new_url [R=301,L]
or
RewriteCond %{REQUEST_URI} ^/old_url$
RewriteRule ^(.*)$ /new_url [R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question