M
M
mydarck2017-02-03 14:54:12
htaccess
mydarck, 2017-02-03 14:54:12

How to set up a 301 redirect in wordpress?

I can't set up a 301 redirect on a wordpress site.
Tried first in htaccess:

RewriteRule ^type/ustranenie-defektov/$ uslugi/ustranenie-defektov/ [R=301,NC,L]

after:
RedirectMatch 301 ^type/ustranenie-defektov/$ https://мойсайт.рф/uslugi/ustranenie-defektov/$1

then more:
Redirect 301 type/ustranenie-defektov/ https://мойсайт.рф/uslugi/ustranenie-defektov/

at the end I installed the simple 301 redirect plugin and tried it through it. Everything is one. There may be some peculiarities if your site has a Cyrillic domain or there may be a reason in the https protocol. If anyone knows please tell me.

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