Which step should be done first when moving historical content in the old site restructuring, bulk import or 301 redirect?

📅 2026-10-13 👁️ 13

First, do the batch import, then perform a 301 redirect. The reason for the redirect is to transfer the traffic and weight of the old address to an existing new address: if the redirect is set up before the content is stable, users and search engines will be sent to pages that cannot be opened or are incomplete, which may damage the inclusion.The sequence of refactoring the old site should be to move the historical content into the new system as a whole, check and publish in batches, and then establish a one-time mapping from the old address to the new address once the new address is stable.AnQiCMS (AnQi Content Management System) supports batch import from ZIP compressed packages and Excel spreadsheets, and the imported documents can be initially saved as drafts,配合recycle bin to prevent accidental deletion, and finally, use 301 redirect management to redirect old links.

Why can't the order be reversed?

The redirect table is a 'promise': promising that there is an available page behind the old address. If the promise is issued too early, there will be problems - the new page is still being adjusted, the title and description have not been finalized, and the images are not complete. The user who comes in from the old link will see incomplete content; worse still, if the address rules are changed after the import, all the previous redirects will point to invalid locations and need to be remade. Conversely, if the import is completed first and then the redirect is done, the old site will still be providing normal services during this period, and there will be no downtime, with the minimum risk.

What do you need to prepare before batch importing, ZIP and Excel?

Cases suitable for different sources are different, you can refer to the table below:

Import method What is suitable to bear? Prepare the key points Common rework
ZIP compression package Rich text historical articles with images and attachments The corresponding relationship between image path and file name, the directory structure of the compressed package Image references are misplaced, and a large number of missing images after import
Excel spreadsheet Structured entries, information and product content with fields in order The correspondence between column names and content model fields, unified date format Categorization and tags written as text are treated as empty values

It is recommended to keep the original address column of the old station at the preparation stage, which is the left half when creating the 301 redirect mapping table later, so you don't have to go back and catch it again.

Why do you need to draft first before publishing after importing?

Content imported in bulk should not be directly facing the public. The document status of AnQiCMS is divided into formal documents, drafts, pending publication, and recycling bin. Drafts are the most suitable position for batch verification: open columns in batches to check if the fields are complete, if the coding is normal, and if the pictures can be displayed. Confirm and publish batches to avoid exposing all problems online at once.During the verification period, if any errors are found, the delete operation is to move to the recycle bin instead of a physical deletion, which can be restored at any time, making it much safer than directly modifying the official release content online.The draft preview link with the preview parameter can also be sent to colleagues for confirmation, no need to publish first and then change.

How to build a 301 redirect mapping table?

The two columns of the mapping table are 'old address, new address'. The establishment order is to first export all the collected URLs from the old station, then compare them with the address list of the new system, and directly write in those that can be matched one by one; for the content that cannot be found, do not jump to the homepage hastily, but belong to the closest column page and record it separately as a pending list. For columns with significant structural changes, you can write the batch rules according to the directory prefix to reduce the amount of maintenance. After all the rules are configured, check some high-traffic old links in reverse, confirm that they fall to the new address and the status code is correct, and then notify the search engine to rescan according to the new site map and push.

What needs to be checked at the final stage

After the redirection takes effect, the old links will coexist temporarily in the form of 'old address redirection, new address inclusion'. At this time, three things need to be done: confirm that the new address has entered the site map and completed the push; observe whether the high-traffic old links still return redirection instead of directly 404; arrange to write the old links with missing content from the pending list. The old site program itself can be retained for a certain read-only period, waiting to confirm that there is no abnormal access before going offline, to avoid premature shutdown leading to the complete failure of some historical addresses.

Common questions

Can you set up redirection first, while the content is being supplemented gradually? Answer: It is not recommended. Redirecting to incomplete pages will damage user experience and indexing, and it is safer to set up everything at once after the address is stable.

What should you do if you can't find the old link corresponding to the new content? Answer: Redirect to the nearest column page and record a to-be-supplemented list, do not redirect to the homepage, as this will lose semantic relevance and is not convenient for follow-up review.

How do I deal with the situation where the fields do not match during the import process? Answer: First, correct the correspondence between the Excel column names and the content model, then re-import. Delete the imported error content to the recycle bin, and then restore or clean up from the recycle bin after checking for errors.

Do I need to download the old station images before batch importing? Answer: Yes. When using the ZIP method, the images must be packaged with the article, otherwise, after importing, a large number of image references will point to the old station address, and the cost of later supplementation will be higher.

Related articles

How to choose container deployment and panel deployment for a corporate website maintained by two people

Two people maintain the corporate website deployment method, evaluating in terms of manpower, rollback, and upgrade: Docker container mode delivers official images, upgrading by changing images, and rollback is to switch back to the old version tag, suitable for teams that operate command processes; Baota panel or aaPanel one-click deployment has a graphical interface in file management, backup tasks, and certificate configuration, suitable for collaborative work with people unfamiliar with the command line. Both methods default to have the program listen on port 8001, and the domain is accessed by reverse proxy forwarding.

2026-10-13

How to fill in the template fields when importing articles in bulk with Excel to avoid losing content

AnQiCMS supports batch import of documents in ZIP compressed packages and Excel spreadsheets. The Excel channel requires filling out the form according to field rules: the title column is required, the status column determines whether the content goes into draft, pending release, or formal document, and the text and keyword columns correspond to document fields; if there is an error during import, check the draft area and recycling bin first to retrieve, handle duplicate entries after processing, and do not resubmit the entire table directly.

2026-10-13

How to configure reverse proxy and domain access since the program listens by default on port 8001

AnQiCMS listens on port 8001 by default, and upon formal launch, it does not allow users to directly access the port number. Instead, it is reversed proxied by Web servers such as Nginx, where 80 and 443 are terminated at the proxy layer, HTTPS certificates are configured, and 301 redirects are used to consolidate old access with ports and http to a standard domain name. This article describes the configuration points along the two deployment paths of Baota panel and Docker.

2026-10-13

After content review blocks the release, how to check and modify the reason for the block?

When content review blocks the release, first determine whether it was intercepted by sensitive word filtering or released after being rewritten with keywords. Investigate by following three steps: column word list, hit records, and text context; there are three methods of modification: correcting the expression, adjusting the word list, and limiting the rules to specific columns. The content generated by AI writing also needs to go through this review chain, and should not be skipped because the source is a model.

2026-10-13

After changing the pseudo-static rules, will the old links that have been indexed break, and how to make a safety net?

Changing the pseudo-static rules will make the old addresses no longer correspond to the original pages. Whether there will be a broken link depends on whether a list has been made in advance and 301 redirects have been set up. The method is to export the collected addresses before the change, and after the change, map the old addresses to the new addresses by directory prefix or item by item, and then check the sitemap and push results to ensure that there are no large-scale failed addresses in the crawling report.

2026-10-13

Robots.txt is not wrong but missing page capture, check these three places first.

The robots.txt is not written correctly, which is not a common cause of missed crawling. It is more effective to investigate in three places: first, confirm that the robots instruction is only for crawling, then check if the sitemap really hands over the page to be crawled, and finally, check the page's own blocking settings and address specifications. AnQiCMS supports automatic generation of robots configuration and sitemap, and both should be consistent with the actual address.

2026-10-13

How can new content be promoted faster to search engines, what do site maps and active push handle?

The site map manages the full volume handover, capturing all addressable URLs in the site at once; the proactive push ensures timely submission, immediately notifying the engine of new and updated addresses. To be indexed faster, both steps must be taken: first, confirm that the page status is a formal document and enter the automatically generated site map, then use link push to Baidu, Bing to push the address, and cooperate with stable static URLs to avoid duplicate versions.

2026-10-13

What should be prepared in advance for port and data backup when deploying the enterprise website with Docker?

Before the enterprise website is deployed with Docker, it is necessary to plan the two things of port mapping and data backup in advance. The system provides the official image, listens to the default port 8001, and needs to clarify the internal and external port mapping and access entry before going online; at the same time, the backup capability covers data and static files, which can be restored to avoid the loss of content after the container is rebuilt.

2026-10-13