Redirect QA Checklist: How to Test URL Redirects Before and After Every Release
redirect testingwebsite QAtechnical SEOweb developmentrelease management

Redirect QA Checklist: How to Test URL Redirects Before and After Every Release

PPortal Redirect Editorial Team
2026-12-04
7 min read

A reusable redirect QA checklist for testing status codes, destinations, chains, loops, parameters, devices, methods, and production releases.

A redirect can look correct in a browser and still fail for search crawlers, mobile clients, tracked links, or non-GET requests. Use this reusable redirect QA checklist to test URL redirects before deployment, sample production after release, and catch chains, loops, incorrect targets, lost query parameters, and inconsistent hostname behavior.

Overview

Redirect testing is a release-management task as well as a technical SEO task. A redirect rule should send the right source URL to the right destination, use an intentional status code, preserve or remove parameters according to the specification, and settle at a reachable canonical URL without unnecessary hops.

Test redirects in two stages. First, validate the rule set in a safe environment such as staging or an isolated configuration. Then, after deployment, test representative URLs in production and compare the results with the expected redirect map. Keep the expected result beside each test so that a future engineer or editor can repeat the check without reconstructing the original decision.

For each URL, record at least these fields:

  • Source: the exact URL requested, including protocol, hostname, path, trailing slash, and query string.
  • Expected status: usually a permanent redirect for a lasting move, a temporary redirect for a short-term condition, or a direct success response when no redirect is intended.
  • Expected destination: the final URL, not merely the next hop.
  • Parameter behavior: which query parameters must be preserved, normalized, or removed.
  • Request context: method, user-agent category, and any relevant authentication or cookie state.

Status codes require an explicit decision. A 301 communicates a permanent move, while 302 is commonly used for a temporary condition. A 307 also indicates a temporary redirect and is designed to preserve the request method. The correct choice depends on the implementation and business intent; do not change a status code simply because a browser appears to reach the same page. For more context, see 301 vs 302 vs 307 redirects.

Checklist by scenario

Before a new redirect rule is released

  1. Review the source-to-destination map and identify duplicate, overlapping, or conflicting rules.
  2. Confirm that every destination is an intentional, indexable page or an intentional non-page response.
  3. Check that the rule cannot redirect a URL back to itself or create a cycle with another rule.
  4. Check the expected status code and whether the rule is permanent or temporary.
  5. Test the exact path, a missing trailing slash, an extra trailing slash, uppercase variants if relevant, and encoded characters used by the site.
  6. Test URLs with no query string, with one tracking parameter, with several parameters, and with parameters that should be removed.
  7. Verify that fragments are handled by the client as expected; fragments are not sent to the server in a normal HTTP request.
  8. Confirm that the destination uses the intended protocol and hostname, such as HTTPS and either the www or non-www version.
  9. Run a redirect chain check and confirm that the result reaches the final destination in the fewest intentional hops.

For protocol and hostname changes

Build a matrix for HTTP and HTTPS, and for every hostname the site has historically exposed. Test combinations such as:

  • http://example.com/page
  • http://www.example.com/page
  • https://example.com/page
  • https://www.example.com/page

Each variant should follow the planned canonicalization path rather than producing competing outcomes. Avoid stacking separate rules for HTTP-to-HTTPS and www-to-non-www when one clear path can reach the final URL. Review the related HTTP, HTTPS, www, and non-www redirect guide when changing domain-wide rules.

For a site migration or URL restructure

  1. Choose a sample from every important template, directory, language version, and content type.
  2. Test high-value old URLs, URLs with backlinks, campaign destinations, and URLs listed in XML sitemaps or internal navigation.
  3. Check that old URLs redirect to the closest relevant new page rather than a generic homepage.
  4. Test deleted content separately. If no suitable replacement exists, confirm that the selected response is intentional and documented.
  5. Crawl the new site and inspect redirecting URLs, final status codes, internal links, canonicals, and sitemap entries.

A redirect map should be treated as a test fixture, not just a planning spreadsheet. The migration guidance at how to build a URL redirect map can help structure that inventory.

Open each campaign link with the intended UTM parameters and verify that the final landing page receives the expected values. Test links copied from email, social posts, advertisements, printed materials, and QR codes because encoding and truncation can differ between sources. Confirm that parameters are not duplicated at each redirect hop and that sensitive values are not exposed in an unintended destination. For governance details, use the UTM redirect links guide and the QR code redirect guide.

For method-sensitive or application routes

Do not test only by clicking a link. A browser typically sends a GET request, but forms, APIs, webhooks, and application actions may use POST, PUT, or another method. Test the methods the route is expected to support and confirm that a redirect does not unexpectedly turn a request into a different operation. Use a safe test payload and staging data where possible.

What to double-check

Headers and final destinations

Inspect the complete response, including the Location header, status code, cache-related headers, and the final response. A command-line request is useful because it shows hops that a browser may hide:

curl -I https://example.com/old-page
curl -IL https://example.com/old-page?utm_source=test
curl -IL --max-redirs 10 https://example.com/old-page

The first command checks headers without following the redirect. The second follows the chain and includes a query string. The third places a limit on hops, which helps expose a loop or an unexpectedly long chain. Compare the observed Location values with the expected URL character by character, including slash placement, encoding, hostname, and parameters.

Query-string behavior

Decide whether parameters should be preserved, stripped, or normalized before testing. A blanket rule that removes every query string can break campaign attribution, search filters, or application state. Conversely, preserving every parameter can create duplicate URL variants or pass unsafe redirect values forward. Document exceptions and test parameter order, repeated parameters, encoded values, and empty values where those cases occur. See URL query parameter redirect guidance for a structured review.

Security and trust

Test inputs that accept a destination from a query parameter or form field. The application should allow only approved destinations or use a safe mapping rather than forwarding users to arbitrary external URLs. Check for protocol-relative targets, encoded destinations, alternate hostnames, and unexpected user information in URLs. These cases can reveal an open redirect vulnerability, which should be handled as a security issue rather than a minor SEO defect. Use the open redirect prevention guide for a focused review.

Different clients and environments

Repeat representative tests in a normal browser, a command-line client, and the crawler or monitoring tool used by your team. Include a mobile viewport or mobile user-agent when the site has device-specific behavior. Test authenticated and unauthenticated states if redirects depend on sessions. A redirect that succeeds for one client can still fail because of a cookie, cache, firewall, JavaScript fallback, or platform-specific rule.

Common mistakes

  • Testing only the homepage: redirect failures often affect deep links, legacy directories, assets, or localized paths.
  • Checking only the final page: a successful destination does not prove that the status code, hop count, or query behavior is correct.
  • Following redirects in a browser without inspecting headers: browser navigation can conceal an incorrect intermediate response.
  • Creating a chain during canonicalization: separate rules for protocol, hostname, and path can produce multiple hops. Prefer a predictable route to the final URL.
  • Using a broad pattern without exclusions: a catch-all rule may capture admin paths, files, APIs, or the destination itself.
  • Ignoring trailing slashes and encoding: visually similar URLs can match different rules.
  • Removing all query parameters: this can damage attribution or application behavior.
  • Assuming staging equals production: CDN settings, DNS, certificates, cache, and hosting rules may differ after release.
  • Leaving temporary test rules active: label, review, and remove experiments before they become permanent infrastructure.

When to revisit

Run the full checklist before every redesign, domain change, routing update, server deployment, CMS release, CDN change, or redirect-rule edit. Use a smaller regression set after routine application releases if routing code or URL generation has changed. Recheck campaign and QR code destinations before seasonal promotions, launches, print deadlines, and any change to the landing-page structure.

Keep a compact permanent test set containing:

  • one known-good URL that should not redirect;
  • one permanent redirect;
  • one temporary redirect, if the site uses one;
  • one HTTP-to-HTTPS and hostname variant;
  • one URL with tracking parameters;
  • one legacy or migrated URL;
  • one method-sensitive route, where applicable;
  • one negative security test for unapproved external destinations.

After release, sample production immediately, then review monitoring and crawl data for unexpected status codes, spikes in redirect volume, new 404 responses, and destinations that differ from the redirect map. When a failure appears, preserve the failing URL, request method, response headers, timestamp, and deployment version before changing the rule. That evidence makes a redirect audit faster and turns each incident into a better regression test for the next release.

Related Topics

#redirect testing#website QA#technical SEO#web development#release management
P

Portal Redirect Editorial Team

Technical SEO Editors

Senior editor and content strategist. Writing about technology, design, and the future of digital media. Follow along for deep dives into the industry's moving parts.