Не получается редирект 301 поддомена

Автор Sporto, 18-12-2016, 22:20:49

« назад - далее »

SportoTopic starter

Сайт находится на поддомене. Менял лендинг на движок. Хотелось бы сделать редирект многих страниц, например:

С:

http://baellerry.wallet.org.ua/портмоне-baellerry-nubuck.html

На:

http://baellerry.wallet.org.ua/nubuck

Какие варианты я перепробывал?

1.
Redirect 301 /портмоне-baellerry-nubuck.html http://baellerry.wallet.org.ua/nubuck

2.
Redirect 301 /%D0%BF%D0%BE%D1%80%D1%82%D0%BC%D0%BE%D0%BD%D0%B5-baellerry-nubuck.html http://baellerry.wallet.org.ua/nubuck

3.
RewriteCond %{QUERY_STRING} ^_route_=портмоне-baellerry-nubuck.html/$
RewriteRule ^(.*)$ http://baellerry.wallet.org.ua/nubuck? [R=301,L]

4.
RewriteCond %{QUERY_STRING} ^_route_=%D0%BF%D0%BE%D1%80%D1%82%D0%BC%D0%BE%D0%BD%D0%B5-baellerry-nubuck.html/$
RewriteRule ^(.*)$ http://baellerry.wallet.org.ua/nubuck? [R=301,L]

Ничего не получилось :'(
  •