M
M
moderatorh2012-09-28 14:22:40
System administration
moderatorh, 2012-09-28 14:22:40

Organization of the correct mirroring of domains?

You need to create the following situation
1. You need to make Beautifulname.mysite.ru and the name which was.ru mirrored. Moreover, if a person entered or switched to the first name, then he followed his links, and if he went to the second, then according to him, that is, without the main domain ... How to implement this correctly at the Apache level? so far, only two engines configured for different domains and full mirroring between them come to mind, but this is hardly the best option.
2. How do search engines react to such things?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
M
moderatorh, 2012-12-07
@moderatorh

In general, in the end, I never won this situation.
Pts a lot of glitches pops up with the use of mods for WordPress.
Therefore, alas, he abandoned this idea and did everything as “for people”, that is, one main domain, and the rest are aliases ...

A
Alukardd, 2012-09-28
@Alukardd

DNS records refer to the same host.
Apache ServerAlias

M
moderatorh, 2012-09-28
@moderatorh

With DNS, everything is clear, there are no questions.
But the engines all know how to work only with relative links?
For example, WordPress requires you to rigidly indicate to it both the placement and what to respond to ...

A
Andrey Burov, 2012-09-28
@BuriK666

mod_pagespeed will help you, it seems to be able to change absolute URLs to relative ones.

Z
zizop, 2012-09-30
@zizop

Regarding point 2, here is a small article: Proper site mirroring

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question