ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Net Web >

After replacing the WordPress domain name ten things to note

Wednesday on January 29th, 2020Net Web

Smooth domain name replacement from luowuzhe.cn to imzhang.com, although the replacement is successful, but there are a lot of things have to toss slowly, now talk about a few things after replacing the WordPress domain required must be frustrating.

First, modify the database configuration file

If you change the domain name on the same host in the same space, this step can be omitted, if the database is different, had to open wp-config.php the database is configured correctly before they can properly access the new domain name.

Second, change the blog's installation address and blog address

First, open your database using phpmyadmin, and then find the wp-options this data sheet, find the first record that is siteurl this article, as well as Article 39 of the home, these two would you want to change the address on the block can be restored a. In fact, this way I do not move wordpress installation address and blog address said, this is my personal experience. Only after the completion of the first step before they can smoothly into the background, or even if you enter a password will automatically jump to the original old domain name.

Third, modify the internal links to all articles for a new domain name

I believe we must add a lot within the chain in previously published articles in it, if not here that was modified with the old domain name, then you want to get the article in the chain of the old domain to the new domain name modification. If one by one to find it is unrealistic from background articles editor, the method has a generic phpmyadmin database where you are, you can execute the following statements all within the chain in the old domain to the new domain name bulk article:

UPDATE wp_posts SET post_content = replace (post_content, 'http://www.old.com', 'http://www.new.com');

Fourth, re-landing site to each search engine

Before I made an article titled "? After the site has been indexed notes and six search engine log entry" there are various search engine sites. Now do is to re-submit the individual stations once the process of submission, must pay attention to in my article mentioned a few pay attention. After submission, it was a long process of waiting, do not worry, because the restart, and that the waiting process, you only have to focus on the original article.

V. 301 redirect the old domain to the new domain name

Do not think of the old and new domain names point to the same station, this will result in "Domain Name bombing." The result of this can not only bring more traffic to your site, but search engines think your cheating, drop your weight is small, the K to your station is not impossible. If users want to keep the old domain name, it should be a 301 redirect. About 301 redirect I have mentioned in a previous article, "the new domain name to Enable Success - On the change of 301s set of skills domain," which says very detail-friendliness and the importance of SEO 301, concrete there are many methods, such as problems encountered during the operation, we can further exchanges.

Sixth, revising statistical code

This should be a very simple thing, and to re-apply for site statistics statistical code of the new domain name, the domain name of the old code coverage statistics can be.

Seven, again change the Feed subscription address

RSS feed subscription is an important factor in maintaining a traffic stop, when your domain names are replaced, others also how to subscribe. It should be re-set subscription address, and try to inform users have subscribed to the old domain name change. RSS feed subscription also modify the address in the appropriate location of the home page.

Eight, notify your links

Before you 301 redirect is still to take effect, be sure to inform your links, the old domain to the new domain name. If 301 fails and your links have not notice changes, then your link will be meaningless.

Nine, to check whether the plug is working properly

Although the plug-in settings and is part of the domain name has nothing to do, but we all know that WordPress function is to rely on plug-ins, so after replacing the domain name, it is best to check whether a plug-in is working fine. Such as Baidu Sitemap Generator and Google XML Sitemaps two plug-ins, you must disable and then enable it to work properly.

Ten, regular visits to your blog post notice of change meters

I have dozens of visits, basically every day is to take a look, casual to change the domain name of your blog at the time to comment on the bloggers. Played a hundred more with less effect.

The station also because I no advertising and so on, those frustrating thing I omitted here. If you have any deficiencies, also please help me to add.

??

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/netweb/After-replacing-the-WordPress-domain-name-ten-things-to-note.htm