B
B
Beaver Nubyar2014-12-18 14:07:28
htaccess
Beaver Nubyar, 2014-12-18 14:07:28

How to make a redirect from all pages of the site to the main page of another?

I just can’t find how to redirect from all pages of the site to the main page of another, i.e. site.ru/*** to new-site.ru.
Registered Redirect / http://www.new-site.ru, but when you click on the link site.ru/*** goes to new-site.ru/***
UPD: did so. Might be useful to someoneRedirectMatch /(.*) http://www.new-site.ru/

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