How To Change The Site Domain

Table of contents:

How To Change The Site Domain
How To Change The Site Domain

Video: How To Change The Site Domain

Video: How To Change The Site Domain
Video: How to Change Domain Name / Website Address / URL of Your Wordpress Site 2024, May
Anonim

The domain name or site name on the network is its address. If you change it, then the resource can fall out of the search engine index and, as a result, lose almost all traffic. There are several techniques for changing the name of a resource without compromising traffic.

How to change site domain
How to change site domain

Instructions

Step 1

To save all pages of your resource in the index of search engines, you need to set up a redirect of its pages to similar ones with the new domain. To do this, transfer all content to a new domain, which you must buy in advance and configure a DNS server there. After delegation, you need to bind the new name of your resource to the old site.

Step 2

Carry out a rediquet. Find a file called.htaccess in the root directory of the site and write this in it: Options + FollowSymLinksRewriteEngine onRewriteRule (. *) Http: // new_site_name.ru/$1 [R = 301, L] After you complete this procedure, search machines and all users who follow the links to the old address of your site will be automatically redirected to the new address.

Step 3

For indexing by Google and Yandex search engines, add a new domain to Google. Webmaster and Yandex. Webmaster. For faster re-indexing, make sure that search engines see your sitemap with both new and old URLs. On the main page, place a link to it. The resource scheme with old addresses makes it possible to update pages on which a redirect is configured. The new schema will make it possible to index pages created after changing the resource name.

Step 4

Then make it so that the user, when navigating to the old site address, gets to a 404 page, which would indicate that the resource has changed its name and now has a new address.

Step 5

After carrying out all these operations, you will only have to wait for the moment when the search engines index the resource. If you have followed all the steps correctly, then the main indicators of the site - numbers and PR - will not change. However, changing a domain is a very serious step, so think carefully before you do it.

Recommended: