Two days ago, my blog has changed the WordPress fixed link in order to better show it to everyone. If you’re new, don’t care, just change! But if you have been updating for a few years like me, all major search engines have been included, it is necessary to look at this article! I hope my experience can give you some reference.
- Consider the new fixed link format;
- The old address 301 jumps to the new address;
- Collection of major search engines (sitemap updates);
- The update of the article’s internal link address;
- The public number automatically updates the address.
- Here we come to a detailed record of sharing brother brother’s blog revision experience.
New and old address 301 jump
I have reviewed numerous tutorials. Since I am so stupid, I used WordPress University to publish the “WordPress Change Permalink Structure Automatically 301 Old Links to New Links” plug-in, WP Permalinks Migration, released in August 2013.
In order to prevent the download address of the wp-permalinks-migration plugin from being invalid, I will make a backup here and it will be convenient for everyone to use. After filling out the old fixed link structure, you can set up a new fixed connection.
Major search engines submit updates
In the major search engine webmaster platform submitted to the site revision, my brother is stupid, only the url on the revision of the submission, so we refer to the moon on the stairs blog and Zhang Ge blog tutorial, recorded how to get all WordPress static link method.
It is worth mentioning here is that soon after the brother submitted the url to the revision, Baidu told me that there is no need to change the version, as shown below. Of course, my brother thinks 301 jump is very important here.
Article link address update
There are few articles, or these brothers don’t say that they use the code to automatically link. Today, there are many articles and there are hundreds or even more manual links.
First of all, find out your own address rules, such as the oldest brother in the original “best all-time best posture, real people really show! You are worth learning and possessing! ”
You can use the following code to execute sql in the database.
UPDATE wp_posts SET post_content = REPLACE( post_content,'https://www.dujin.org/fenxiang/tupian/','https://www.dujin.org/');