I
I
Insom842019-12-03 22:27:33
URL Handling
Insom84, 2019-12-03 22:27:33

How to modify a working redirect?

There is a redirect:

RewriteCond %{HTTP_HOST} ^2\.dmitnik\.z8\.ru$
RewriteRule ^$ http://vpkpolimer.ru/? [L,R=301]

The main page regularly redirects, but the internal ones do not. What needs to be added to redirect all pages?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-12-03
@Insom84

RewriteCond %{HTTP_HOST} ^2\.dmitnik\.z8\.ru$
RewriteRule (.*) http://vpkpolimer.ru/$1? [L,R=301]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question