Operations Knowledge

How to Handle Old Links with Basic SEO Optimization Before a Website Redesign

Before a website redesign, organizing old links, setting up 301 redirects, and updating internal links can reduce 404 errors, preserve existing authority, and make the redesign smoother.

Illustrative scene

When redesigning a website, if you only focus on the design of new pages and neglect the handling of old links, you may encounter a large number of 404 errors after launch. Users visiting old addresses will see error messages, and search engines may lose the accumulated authority of original pages during re-crawling. Taking some time before the redesign to organize old links, combined with basic SEO optimization, can help your new site recover stability more quickly.

Step 1: Export a Complete List of Old URLs Before the Redesign

Before starting the redesign, export the complete list of URLs from your old website as a baseline for subsequent operations. Here's how:

  • Export the page list from your website backend, including all category pages, article pages, and product pages, recording the full URL and corresponding title for each page.
  • Check the sitemap.xml in the root directory of your website. If it was previously submitted, it usually contains URLs of major pages and can serve as a supplement.
  • If your website has multiple domains or subdomains, organize them separately to avoid omissions.

After exporting, it's recommended to organize the data in a spreadsheet, clearly listing the old URL, new URL (if applicable), status (keep, delete, merge), and remarks. This makes it easy to see at a glance when setting up redirects later.

How to Handle Old Links with Basic SEO Optimization Before a Website Redesign配图

Step 2: Map Each Old URL to the Corresponding New Page

After the redesign, the page structure may change, such as categories being merged or products being reclassified. At this point, you need to find the corresponding new address for each old URL. Criteria for judgment:

  • If the old page content still exists and the address has changed: map directly to the new URL.
  • If the old page content has been merged into another page: map to the merged new URL. For example, if two old product pages are merged into one, both old URLs should point to the new page.
  • If the old page content has been deleted and there is no replacement: you can temporarily leave it as a 404, but it's best to set up a relevant recommendation page, such as pointing to the homepage or a category page.

This step doesn't need to be completed all at once; you can handle it by category, but make sure to finish all checks before the redesign, as it's difficult to trace back after launch.

Step 3: Configure 301 Redirects at Launch Instead of Returning 404

A 301 redirect tells browsers and search engines that the old address has permanently moved to a new address. During the redesign, for old URLs that have corresponding new pages, you must set up 301 redirects rather than letting the server return 404 directly. Specific actions:

  • Add redirect rules in the server configuration (such as Apache's .htaccess or Nginx configuration files) to point old URLs to new URLs.
  • If you lack technical capability, you can use a "301 Redirect" plugin in your CMS backend or contact your hosting provider for assistance.
  • Set up redirects individually; do not use wildcards to point all old links to the homepage, as this would lose significant authority.

After configuration, use online tools or directly enter old URLs in a browser to check if they redirect to new pages and that the status code is 301.

How to Handle Old Links with Basic SEO Optimization Before a Website Redesign配图

Step 4: Update Internal Links and Navigation to Old URLs

If there are still links within your website pointing to old URLs, such as links in articles, navigation menus, or footer links, they should also be updated after the redesign. Otherwise, users will go through a redirect when clicking, which adds an extra hop, and search engines will also take an extra step when crawling.

Specific actions:

  • Export all article content from the website backend, find and replace old URLs with new URLs.
  • Check navigation menus and footers to ensure all links use new addresses.
  • If your website has a search function, ensure that search result links point to new URLs.

This step can be executed immediately after the redesign, but it's best to prepare a replacement list before the redesign.

Step 5: Check 404 Pages and Submit Sitemap After Launch

After the redesigned site goes live, don't end the work right away; proactively check for any missed old links. Methods:

How to Handle Old Links with Basic SEO Optimization Before a Website Redesign配图
  • Use webmaster tools (such as Baidu Search Resource Platform or Google Search Console) to crawl your website and review 404 reports.
  • Alternatively, use third-party crawler tools to simulate crawling the old URL list and see which ones return 404.
  • Generate a new sitemap.xml and submit it to search engines to speed up indexing of new pages.

If you find unhandled old URLs, promptly add redirects or update links.

Before launching a redesigned website, handling old links is an easily overlooked but important part of basic SEO optimization. By following the steps above—organizing the list, mapping correspondences, configuring redirects, updating internal links, and continuously checking after launch—you can make the redesign process smoother and reduce the impact on long-term website operations.

03 /

From insight to practice

Content planning
01

Content planning

Responsive pages
02

Responsive pages

Ongoing operations
03

Ongoing operations