E
E
exedis2016-06-08 16:45:54
PHP
exedis, 2016-06-08 16:45:54

How to replace part of url?

Hello, I'm just starting to understand redirects .. how to replace www.test.ru/technics/page1/ with www.test.ru/arenda/page1/ ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Pavel Alexandrov, 2016-06-08
@exedis

Add line to .htaccess:
RedirectMatch 301 /technics/page1 /renta/page1

A
Alex, 2016-06-08
@streetflush

../../rent/page1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question