Answer the question
In order to leave comments, you need to log in
How to make a redirect from different domains to different pages of the site?
There is a website with 3 domains like:
test.ru
test-2.ru
test.com
At the moment, 301 redirects are configured on them so that they would send from test.ru and test-2.ru to WWW.test.ru
This is necessary leave it the same, but when you go to test.com, it should open a stub with an inscription from technical work. All within one hosting (not VDS) for one site.
Answer the question
In order to leave comments, you need to log in
What is the question then? What can't be done? Remove the redirect from Komovsky and put a stub on the index page
Если в режиме многосайтовости - www.test.ru первый сайт (редиректы оставляй), test.com второй сайт - используй символьные ссылки, https://dev.1c-bitrix.ru/learning/course/?COURSE_I...
Заглушка в при таком варианте ставится в
/bitrix/php_interface/ID_САЙТА/site_closed.php
RewriteCond %{HTTP_HOST} ^www\.test\.com& [NC]
RewriteRule ^(.*)$ http://%1/info.html [R=301,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question