Transfer a site to a new domain

    Domain splicing usually occurs when it is necessary to move from one domain to another, for example, when you buy a new, more beautiful address or get into the ban of one of the old search engines. Sometimes they are glued for personal gain in order to get someone else's TIC / PR, but now about the first case.

    I would like to immediately make a reservation that gluing a domain is not a time-consuming activity in itself, but rather troubling and long. And, in my opinion, without special need it should not be done, because there will be loss of attendance.

    The most incorrect method of transferring a site to a new domain with minimal loss of visitors, in my opinion, will be the following:

    1. Parking a domain as a mirror.In the same folder where the site is located, so that both sites display the same thing, but at the same time all the links inside the site must be relative so that they do not lead from one domain to another (for example, in DLE, the latest versions have automatic domain pickup, on static sites is also quite simple to redo all links by mass replacement)

    Users will not even notice the first stage. However, you can write news for regular visitors that you have a new address and it will soon become the main one so that they replace it in the bookmarks. If only your zone has changed in your domain, for example, from domen.info to domen.ru, then it is worth focusing the attention of users on this.

    2. Creating robots.txt for gluing TCI.This stage also passes invisible to users, but quite noticeable for Yandex. You must specify the new domain as the main mirror in the Host directive.

    An example of the contents of robots.txt, which should be put in the root of the site, can be as follows: You can also add the following for Rambler, and write in support of Rambler about changing the address, they will change the address of your site in the index: Lines with User-agent indicate for robots, which search engines next entry is intended. In this case, Disallow does not mean a ban, but means that nothing is prohibited, due to the lack of parameters behind it. The Host directive is a recommendation for choosing the primary domain, but this does not mean that it will be selected as the primary. 3. Waiting for a Yandex mirrorist.

    User-agent: *
    Disallow:

    User-agent: Yandex
    Disallow:
    Host: domen.ru




    User-agent: StackRambler
    Disallow:
    Host: domen.ru




    Yes, it happens a miracle when on the morning of the next day it already went through the sites, but more often it happens differently and its wait is delayed for months. At least this situation was in the summer. In the fall, Yandex employees promised to pay attention to this and make it more frequent bypass.

    Regardless of whether the indexing robot follows the recommendations of the directive, the TIC will be stuck with updates, and on the new it will become the same as on the old site. However, it will be possible to distinguish that on the new domain it is not real.

    If the robot follows the directive and selects the new domain as the main one (this often happens when gluing to a higher-priority domain, for example, from domen.org.ru to domen.ru), then the next domain will be indexed with several subsequent updates, and the old one will be dropped from the index.

    4.The delegation of a new domain to hosting is not like a mirror, but as a separate site. It is believed that it is better to park on the same hosting and the same ip so that search engines have less doubt about your bright intentions.

    Transfer all site files to a new address, and configure scripts to work on it. And on the old one, creating such a simple construction in the .htaccess file for gluing PR and redirecting users to the new domain. (yes, other options are possible, and there are no more hosts left without mod_rewrite :) 5. Waiting for a PR update and changing links to a new address. If your site has been registered in the dmoz directory, you can write a letter to the editor of your section. A Yandex directory address should change automatically.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*) http://domen.ru/$1 [R=301,L]






    If links were purchased in sape or similar exchanges, you should gradually buy new ones for the new domain (although the language does not turn after so many months to call it new :), and slowly remove the old links. If you have changed links with other sites, it is also better to contact partners and ask them to change the address of your site.

    It won’t be worse because the links will start leading to the new domain, and this will help the bots to choose the main domain for your site if you start doing it after gluing the TIC.

    This knowledge was found in pieces on the Internet on different sites, and tested by personal experience on two of their sites. © Krot

    Also popular now: