L
L
Legioner9112015-11-25 11:30:41
PHP
Legioner911, 2015-11-25 11:30:41

How to set up the correct htaccess redirect in such a situation?

Hello everybody!
I set up a redirect in this way.
Redirect 301 /page2/ mysite.ru/page4 Redirect 301 / page2 / page3
/ mysite.ru/page4 replaces the middle and accordingly redirects to 404. How to solve this problem? Sincerely!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MIP, 2015-11-25
@MIP

what if you add http:// ?

R
romy4, 2015-11-25
@romy4

RewriteRule /page2/page3/ othersite.com/page4 [R=301,L]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question