Indexing of mirror domains in Google


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
93 views
The site is in hosting. To it screwed my domain of 2nd level and another issued by the host, the "service" domain of 3rd level. The service was used until he bought his. Earned when working, register it in different search engines. Made an account on Google tools and Analytics. Put a counter.

For a time all was as it should. In the search results was the main domain.
But a few weeks later it was replaced by "backup". And only in Google. The others (Yahoo, Bing, Rambler) find the one you want.

In robot.txt there is an entry:
User-Agent: *
Disallow:
Host: imanity

The title in the header is with an absolute link to the main domain.
Other links on the website relative.

Spoke with the tech support of the hosting provider through the Internet. What he found is somewhat contradictory.

Maybe advise the right way?

— wait until you stick together?
— edit robot.txt?
— kill the service domain?
— forwarding(if it is, then what)?
— the other?

UPD: IN the tools of Google was all three — osnovnoye, wwwhomepage, sluzhebnykh(And the service I added after he got out in the search results). The first thing I got there and climbed. So in the settings there is the option to choose "Primary domain" of only the first two options. Ie c www. Chosen without a www. When I go to setup utility, in the corresponding field there is a line: "the Primary domain — Just the domain root level"
by | 93 views

4 Answers

0 like 0 dislike
I understand that both domains are directed to a single directory?
In this case, go to .htaccess file, create it if not, and there write this:
RewriteCond %{HTTP_HOST} ^www.techdomain.ru$ [NC]
RewriteRule ^(.*)$ www.your-domain.ru/$1 [L,R=301]
\r
RewriteCond %{HTTP_HOST} ^techdomain.ru$ [NC]
RewriteRule ^(.*)$ www.your-domain.ru/$1 [L,R=301]
\r
In the end, when you step on techdomain.ru and www.techdomain.ru will be redirected to www.your-domain.rusame with any page
by
0 like 0 dislike
As written above:
1) the webmaster Tools in Google to choose the right mirror
2) robots.txt you are all right
3) Put a 301 redirect from the mirror to the main domain
\r
Zerkalschik will come and replace the main mirror site.
by
0 like 0 dislike
In the tools of Google for webmasters (or something like that) it is possible to specify the primary domain — the problem I had only with mirrors c and without www (aliases). Natural links have been an epidemic of c www, although I considered the main without it, and you doing the redirect did not occur, but then it was terrible — so Google had replaced the domain in the results.
by
0 like 0 dislike
A redirect can be done
In order of "Correctness"
\r
1 edit the records of DNS servers (to negotiate with the hosting, so he redirecters on Osnovnoy)
2 lifting the second virtual host and it quit .htaccess with 301 redirect to the main
3 Google and Yandex has a panel "web master" where can ukazateli the primary and secondary domains
by

Related questions

110,608 questions
257,186 answers
0 comments
28,048 users