After changing the pseudo-static rules, will the old links that have been indexed break, and how to make a safety net?
After modifying the static rules, will the old links that have already been indexed not open? They will break, unless a fallback has been prepared. The fallback method consists of three steps: before changing the rules, export the list of old links that have been indexed, after changing the rules, use 301 redirects to point the old addresses to the new addresses one by one or by prefix, and then check the sitemap and push results. In AnQiCMS (AnQi content management system), the static rules support custom URLs, the 301 redirect management is responsible for connecting the old addresses to the new addresses, and the sitemap and Baidu push, Bing active push are responsible for delivering the new addresses to search engines.
Why do we need to make a list before changing the rules
The list determines how detailed the fallback can be. Without a list, after the change, we can only rely on memory to make jumps, which is easy to miss historical activity pages and long-tail articles referenced by a large number of external links. There are two sources for obtaining the list: the historical visit records within the site, as well as the addresses included in the sitemap and crawling reports. After merging and deduplication, and marking the current category of each address, it becomes the left column of the subsequent mapping table. This list also answers another question: which old addresses are actually invalid content and can be directly categorized as 404 without making a jump.
What are the three common types of broken links
The first type is overall format change, such as changing the article address from "Category/Year/Number" to "Category/Alias", which causes all article pages to become invalid at the same time. This type is large in volume but uniform in rule, suitable for writing jump rules in bulk according to the prefix.The second type involves the renaming or merging of columns, and the ownership of sub-pages under the old column address changes. It is necessary to confirm the target item by item, otherwise, you will be redirected to a page that is not related to the content.The third category is the easiest to ignore: details such as trailing slashes, case sensitivity, and whether parameters are included can cause the same content to appear in multiple historical version addresses. When making a fallback, they should be unified into a standardized address to avoid the new address being split into multiple versions.
How to configure 301 redirect stably
The principle is to make changes in one go and verify each item. Write batch rules according to the directory prefix to reduce maintenance; map the top articles with high traffic separately, ensuring the relevance of the content.The configuration order is recommended to be: first the redirect rules, then switch to the new pseudo-static parsing, to avoid any empty window that does not have a new address or redirect. After configuration, check three types of addresses - home page and column pages, header articles, and long-tail historical pages, to confirm that the returned status code is indeed a permanent redirect and not a temporary redirect or error page.When the old address can still be resolved under the new rules, it should also be unified 301 to the standard address to avoid both versions existing at the same time and spreading the weight.
How to verify inclusion after modification without dropping
Verify two things: sitemap and submission results, crawling and error reports. The new address needs to be added to the automatically generated sitemap and submitted to Baidu and Bing through link submission to make search engines discover the change as soon as possible; then observe whether there are large-scale old address error alerts in the crawling report, as well as whether the new address has started to be crawled normally. Generally, a one to two-week observation period is given, and the rules should not be changed again during this period. If a batch of addresses are not redirected or included, go back to the list to locate the column of ownership and supplement the mapping, which is faster than waiting for it to recover naturally.
Common questions
Can you only perform redirection without submitting a new sitemap? Answer: Yes, but it will be slow. Redirection solves the problem of uninterrupted access, while sitemap and active push solve the speed of discovery of new addresses, and only when both are done will it be stable.
Is it okay to use temporary redirection? Answer: It is not recommended to write long-term changes as temporary redirection. Temporary redirection means that the address will change back, which will cause search engines to retain the old address, and the collection switch will take longer.
What should you do if the old address has no corresponding content at all? Answer: Return it to the nearest column page instead of the homepage, and register it in the pending list, and decide later whether to write the corresponding theme content according to the needs.