S
S
serg_marinkov2019-12-17 17:00:43
htaccess
serg_marinkov, 2019-12-17 17:00:43

How to glue domain mirrors?

You need to make one domain a mirror of another domain. For example, there is site.ru and site2.ru. Make a 301 redirect from site.ru to site2.ru.
But you need to make it so that ordinary people who visit the site.ru site open the index.html stub, i.e. so that they do not have a redirect to site2.ru. And for Yandex and Google, you need to leave a redirect.
How to configure all this through .htaccess?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-12-18
@dimonchik2013

by user agent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question