How should you plan and check redirects when redesigning a website or changing its URLs?

ProcrustesPR

When redesigning a website or changing its URLs, first identify what is changing—the domain, paths, or HTTP/HTTPS—and map old URLs to their corresponding new pages. Then set up 301 redirects for pages that are moving permanently. After setup, check not only whether the URLs redirect, but also the destination pages’ content, response status, and indexing settings. Before deleting the old website, make sure the redirects work properly. The goal is to keep old URLs pointing to the right content, not to guarantee that rankings or traffic will remain completely unchanged.

ProcrustesPRProcrustesPRHow should you balance CNAME convenience and performance?

Identify which URLs are changing, then map each page

Rather than simply asking whether the website has been redesigned, compare the actual URLs. Updating a page’s appearance and changing its URL are two different things. Even if the content stays the same, a change in domain, path, or protocol may require a redirect.

  • Same domain, different paths: For example, if the About Us page moves from /about.php to /company.php, the old page should redirect to the corresponding new About Us page.
  • Domain change only: Check whether each page on the old domain leads to its corresponding page on the new domain, rather than checking only the homepage.
  • Both domain and paths change: Confirm the new location of each page; do not simply replace the domain name in the URL.
  • Switching only from HTTP to HTTPS: Even if the paths remain the same, set up 301 redirects from the old HTTP URLs to their HTTPS versions.

At a minimum, the mapping list should include the old URL, the new URL, and whether the old and new pages have corresponding content. For example, an old About Us page that redirects to an unrelated product page is not correctly mapped, even if the redirect works.

Choose redirects to suit the move, and back up before making changes

A 301 indicates a permanent redirect and is appropriate for the permanent URL changes discussed here. If a redirect is only temporary, clarify its purpose before choosing a method rather than treating every redirect as a permanent move.

How you configure redirects depends on your website’s setup. If you use .htaccess, back it up before editing it. If you use the website’s admin interface or a plugin, check each source and destination URL. Writing the rules or seeing a successful save message does not mean the redirects have passed testing. You still need to test them using the old URLs.

Check redirects, content, and indexing after setup

  • Test from the old URLs: Visit the old URLs in the mapping list and check the final destination pages and their content. If you are switching to HTTPS, confirm that HTTP URLs redirect to their HTTPS versions.
  • Confirm the redirect status: Use a redirect checking tool to verify that the expected 301 redirects are working, rather than simply checking whether the browser display changes.
  • Check the new site’s settings: Make sure there are no errors in noindex settings, robots.txt, or internal links. Regularly use Search Console to check for pages that cannot be indexed and any error messages.

Finishing setup is not the same as finishing the checks. Confirm that the old URLs lead to the correct new pages before cleaning up the old site. Even when redirects work, you still need to check whether the new pages can be crawled and indexed.

ProcrustesPRProcrustesPRShould you use a 302 redirect to a temporary alias for the new server during a DNS update?

Redirect Q&A for redesigns and URL changes: perspectives from the web

What should you consider when mapping old URLs with parameters to new pages?

First, clarify which categories, items, or other information each parameter represents, then identify the new page with corresponding content. The old site may have multiple parameter combinations leading to the same page, or it may include unnecessary parameters. You cannot determine the destination from the URL path alone. Include these old URLs in your mapping and testing, especially when the old and new URL structures differ.

Do you have to migrate the old website first while the new one is still in development?

Not necessarily. One online discussion suggests first taking an inventory of existing URLs, titles, descriptions, and metadata, developing the new site locally, and then replacing the old site and configuring redirects from its URLs once the new site is ready. The commenter believes this involves less work and shorter downtime. This is experience-based advice about a particular approach; whether it is suitable still depends on the website's development and launch plans.

How can you configure and check redirects on a WordPress website?

For WordPress, you could consider using the Redirection plugin to configure redirects. Enter the old URL in the source field and the new URL in the target field, then choose 301 or 302 according to the purpose of the redirect. After setup, use a redirect checking tool to confirm that it works. A plugin can help with configuration, but you still need to verify that the destination page is correct.

If old URLs still appear in search results after a domain change, does that mean the redirects have failed?

Search results alone are not enough to determine that redirects have failed. One online commenter said that results from the old domain might still appear for two weeks or longer after a domain change, and that errors related to cached versions of old pages might also appear. The commenter speculated that caching was involved, but this is neither a confirmed cause nor a fixed timeline. You should still check the redirects and any related errors directly.

ProcrustesPRHow does HSTS protect websites and subdomains?

References

  1. We changed our URL and our impressions dropped almost 100%webmasters.stackexchange.com — Discusses: If old URLs still appear in search results after a domain change, does that mean the redirects have failed?
  2. 技術性SEO:打造高品質網站,提升搜尋引擎排名tenten.co · 2024-12-25T18:03:57.000Z — Source used in the article above.
  3. 301轉址怎麼做? 沒做好會造成網站流量大流失www.da-vinci.com.tw · 2024-03-01T21:20:47+08:00 — Source used in the article above.
  4. 301/302轉址如何影響網站SEO?三大要點讓你做好網站SEOwww.awoo.ai · 2020-01-07T09:09:52+00:00 — Discusses: How can you configure and check redirects on a WordPress website?
  5. 10大轉址服務推薦!教你正確網頁轉址顧好SEO!welly.tw · 2021-12-20T05:18:40.288Z — Discusses: If old URLs still appear in search results after a domain change, does that mean the redirects have failed?
  6. HTTP vs. HTTPS: Explaining the Difference & How to Switchwww.semrush.com · 2021-10-20T18:08:00Z — Source used in the article above.
  7. Replacing well ranked e-commerce site with a CMS site and new e-commerce site & maintaining as much SE ranking as possiblewebmasters.stackexchange.com — Discusses: Do you have to migrate the old website first while the new one is still in development?
  8. [SEO技術分享] htaccess重新導向 帶參數頁面一對一轉址語法www.awoo.ai · 2014-09-05T06:36:59+00:00 — Discusses: What should you consider when mapping old URLs with parameters to new pages?

Related articles

How should you balance CNAME convenience and performance?Should you use a 302 redirect to a temporary alias for the new server during a DNS update?How does HSTS protect websites and subdomains?How do SSL certificates protect websites, and why are they needed?Should a Tumblr blog use the platform’s domain or the company’s domain?What types of URLs are there, and what are they used for?When should you use relative or absolute paths in WordPress?What are www subdomains and relative links used for?
ProcrustesPR
ProcrustesPR