WordPress Change domain name after 10 things to note

Source: Internet
Author: User
Keywords WordPress

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

WordPress replacement domain name may have been experienced in the new and old domain name replacement process, how to reduce the loss to the least, this is important to focus on SEO webmaster is crucial. One side of my own experience to talk about WordPress changed domain name after 10 things to note.

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, but also to open wp-config.php the database is properly configured to access the new domain name.

Ii. Change the installation address and blog address of the blog

First use phpMyAdmin to open your database, and then find wp-options this 6184.html "> datasheet, find the first record is SiteURL this, there is a 39th home, these two will change the address to the most domain name you can replace. Only after completing this step, can smoothly enter the backstage, otherwise even if you enter the password, will automatically jump to the original old domain name.

Third, modify the article inside all the links for the new domain name

I believe everyone in the previous published articles must have added a lot of inside the chain, the domain name has been replaced, the old inner chain is meaningless. This time you have to change the old domain name in the chain to the new domain name. If you're looking for one from the background article editor, it's not realistic, there is a way, universal phpMyAdmin into your database, execute the following statement can be the article all the old domain name in the chain to the new domain name:

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

Four, back to the search engine site landing

Because of changing the domain name, everything from scratch, so if you go to each search engine station to resubmit a new domain name, submit the process, must pay attention to my article mentioned several points of attention. After submitting, it is a long waiting process, do not worry, because the beginning, the waiting process, you have to focus on the original article.

V. Old domain 301 redirect to new domain name

Do not think of the new and old domain names are pointing to the same station, which will cause "domain bombing." This result not only can not give your site to bring more traffic, but the search engine that you cheat, drop your weight is trivial, put your station K is not impossible. If you want to retain the old domain name net friend, that must make a 301 redirect. 301 Redirect to Seo or friendly, there are many specific methods, the specific operation is not in this one by one detailed

Vi. re-modifying the statistics code

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

Re-change feed subscription address

RSS Feed subscription is to maintain a station traffic is an important factor, when your domain name has been replaced, others how to subscribe. So you should reset the subscription address, and find ways to notify users who have subscribed to the old domain name changes. Also modify the RSS feed subscription address at the appropriate location on the home page.

Eight, inform your friendship link

Before your 301 redirect is still in effect, be sure to inform your friendship link, the old domain name to the new domain name. If the 301 is invalid and your friendship link has not been notified of changes, then your link is meaningless.

Check whether the plug-in is working properly

Although the plug-in settings are not related to the domain name, but we all know that the WordPress function is dependent on plug-ins, so after changing the domain name, it is best to check whether the plug-in is working properly. such as the Baidu Sitemap generator and Google XML sitemaps two plug-ins, must be disabled before enabling to work properly.

Ten, to your frequent exchange of blog message notice to change rice

I also have dozens of visits, basically every day to see, in the comments to bloggers casually say your blog to change the domain name. The effect of hundreds of times.

Because my station has not put any advertisement and so on, those toss the matter I here to omit. If there is any shortage of places, please help me to add. or to my blog http://www.imzhang.com to communicate.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.