Journal

301 Redirect: Practical Setup, SEO and Migration QA

A practical guide to choosing relevant destinations, implementing permanent URL changes, and checking migration paths so visitors reach useful pages and search engines can process the move.

By Pankaj18 min read

A company that acquires a payments business can inherit two sites competing for the same “payment solutions” searches. In one reported B2B SaaS migration, the team published replacement pages before redirecting the old URLs, then switched the redirects on the service announcement day.

A 301 redirect tells browsers and search engines that a URL has moved permanently. It sends requests from the old URL to a new destination, making it the usual choice for permanent page changes, site consolidations and migrations. The practical payoff comes from matching each old page to a relevant live destination, then testing the full route after launch.

What is a 301 redirect?

A 301 redirect is an HTTP response status code that signals a permanent move from one URL to another. When a visitor requests the old address, the server returns the redirect and supplies the destination URL. The browser then requests that destination instead of displaying the old page.

For example, a request for https://example.com/legacy-payments/ could return an HTTP 301 response pointing to https://example.com/services/payment-processing/. The old URL is the source; the service page is the destination. Search engines can follow the same response and process the new address as the replacement for the old one.

A redirect does not rename the old URL or remove every reference to it. Bookmarks, external links, old search results and internal links may still contain the former address. The redirect provides a route from that address to the new page, while updating links and site references remains a separate job.

The HTTP status code describes the kind of move, not the quality of the destination. A 301 from an old page about payment processing to a current payment-processing page is understandable to a visitor. A 301 from that same page to an unrelated careers page still returns a permanent-move response, but the destination fails to serve the old page’s purpose.

For a migration involving several URLs, the redirect map is the record of those decisions. A useful map identifies the old URL, its destination, the reason for the match, and the test result. It gives content owners and technical teams a shared place to resolve uncertain matches before redirects go live.

Do 301 redirects affect SEO?

A 301 helps communicate that a page has permanently moved and that its destination is the replacement. Search engines can use that signal when processing the new URL and consolidating signals associated with the old one. That makes a correctly mapped 301 an important part of a migration, but it does not make the new page identical to the old one in search.

Rankings and organic traffic can change when pages move. The new URL may have different content, a different search intent, a different internal-link position or a different ability to satisfy the query. Search engines also need to discover and process the redirect and destination. A status code alone cannot correct a weak replacement page or guarantee that every previous ranking signal will be reflected in the same way.

Destination relevance is a practical quality test. If an old page explains a particular payment service, a new page describing that service is a closer match than a general homepage. If the replacement omits key details, the content owner should decide whether to improve it, consolidate the useful information into another page, or leave the old URL without a redirect.

The acquisition example shows why the content and timing decisions belong alongside the technical setup. The agency author reported that a B2B SaaS company in insurance had acquired a payments company, then planned its own payment solutions service. The team reviewed Google Search Console data, selected relevant old pages, prepared replacements on the parent domain, and activated mapped redirects on announcement day. The author reported that the new pages were indexed, appeared on page one in positions close to the old pages, and saw clicks for the new service term rise by more than 1,000% from a very low starting point. The report also describes the parent site as high-traffic, a relevant condition when interpreting the outcome. (Migration account)

For a team evaluating its own move, the useful lesson is to assess the whole replacement: URL, page content, internal links and user intent. Measure the affected URL groups before and after launch using the same Search Console and analytics views, and investigate whether losses cluster around a particular page type or destination pattern.

When should you use a 301 redirect?

Use a 301 when the original URL has a permanent replacement that serves substantially the same user need. Typical cases include a lasting slug change, a domain migration, a move from HTTP to HTTPS, host consolidation between www and non-www, and replacing a discontinued product page with its current equivalent.

A one-page change can be simple. If /blog/old-guide/ has been replaced by /blog/current-guide/, a direct 301 from the former path to the latter gives visitors and crawlers a clear route. If the content has instead been split across two articles, choose the destination that best covers the old page’s main purpose rather than selecting a URL only because it shares a keyword.

A site acquisition needs page-by-page judgment because two sites may have different products, audiences and content histories. Classify old URLs before writing redirect rules:

  • Direct replacement: The new page covers the same product, service or topic. Redirect the old URL to that page.
  • Consolidated replacement: Several old pages overlap, and one new page now covers their shared purpose. Map each relevant old URL to that consolidated page.
  • Still useful with no new destination: Keep the old page live if it remains accurate and useful, or plan a separate update rather than redirecting it to a poor match.
  • Permanently removed with no useful replacement: Let the URL return an appropriate not-found or gone response instead of forcing a redirect to unrelated content.

The final category matters. Redirecting every removed URL to the homepage may make the URL list look tidy, but it gives visitors arriving from an old product link no clear explanation or equivalent information. A 404 or 410 can be the more accurate response when the content is gone and there is no suitable replacement.

For a switch from HTTP to HTTPS or from one hostname format to another, preserve the URL path where the page still exists. For example, the old address http://www.example.com/services/payments/ should resolve directly to the preferred HTTPS version of that same service page, not take separate hops through several host and protocol variations.

301 vs. 302: which redirect should you use?

The difference is the intended duration of the move. An HTTP 301 status code indicates a permanent move. An HTTP 302 status code indicates a temporary move. Choose the code that matches the actual plan for the original URL, rather than treating the status as a setting for ranking preferences. Google’s redirect guidance describes how redirects are processed by Search.

SituationStatus codeWhat the choice communicates
A page has permanently moved to its replacement301The old URL has a lasting destination
A domain migration is complete301Requests should use the lasting new URL
A page is temporarily available at another address and is expected back302The move is temporary; the original URL remains relevant
A short-lived promotion routes visitors to a temporary offer page302The campaign destination is not the permanent replacement

A 301 fits a permanent slug change, a completed site consolidation or an acquired-site page that has a lasting equivalent on the parent site. A 302 fits a temporary arrangement when the original page is expected to return, such as a short-lived event page with a temporary alternative. The team should record that return plan so the temporary rule does not become an undocumented permanent route.

Using a 302 for a permanent move communicates the wrong duration. Using a 301 for a temporary move can make the migration plan harder to interpret and unwind. If the business decision changes, update the rule and test the response; do not assume that changing a setting will immediately change what every browser or search engine has processed.

A redirect status is only one part of the decision. In either case, the destination should load, make sense to visitors, and use the intended canonical URL format. A 301 to a broken page is still a broken journey, just as a 302 to an unrelated page does not become useful because the move is temporary.

How to set up a 301 redirect

The implementation depends on the server, CMS, host and routing design. A redirect can be configured in a CMS redirect manager, at the web-server layer, or in the application handling requests. The operational requirement is the same across those options: define a source URL, a final destination and a permanent status, then test the live response.

Before implementation, make a map with one row per old URL. Useful columns include the old canonical URL, proposed destination, reason for the match, owner or reviewer, implementation location and test result. For a migration, add a disposition field such as “direct replacement,” “consolidated,” “retain” or “remove.” This prevents a blank destination from turning into a default homepage rule.

For an Apache server using mod_alias, a single path can be redirected like this:

Redirect 301 /legacy-payments/ https://www.example.com/services/payment-processing/

For nginx, an exact-match location can express the same single-path route:

location = /legacy-payments/ {
    return 301 https://www.example.com/services/payment-processing/;
}

These examples illustrate the rule, not a complete migration configuration. An installation may have a proxy, application router, existing rewrite rules or CMS that also handles the path. The person responsible for the server should check how the current stack processes the request before adding rules that overlap.

In a CMS redirect manager, the equivalent setup is usually a source path, a destination URL and a permanent redirect selection. The interface varies by product, so the team should test the actual HTTP response rather than relying on the label shown in the admin panel. For a large migration, importing a prepared map is safer than entering hundreds of URLs without a reviewable record.

A controlled setup sequence helps catch mapping errors before they affect a whole site:

  1. Export candidate URLs from the CMS, current XML sitemap, analytics and Google Search Console. Include pages with links or organic visibility, not only pages with recent visits.
  2. Assign each URL a disposition and have a content owner review ambiguous matches. A technical operator should not have to infer whether an old product page is equivalent to a new service page.
  3. Build direct routes from old URLs to final destinations. If the final address is known, avoid sending requests through a temporary or superseded URL first.
  4. Confirm the destination is published, accessible and uses the preferred HTTPS and hostname version. Check that the page content is complete before the old URL starts pointing to it.
  5. Test a small representative set in staging when available, then test the production routes immediately after deployment.

The acquisition report describes publishing new pages one week before switching redirects, then activating the redirects on announcement day. That sequence allowed the pages to be available before the cutover in that particular migration. For other launches, publishing and indexing timelines vary; the practical planning step is to make replacement pages available early enough for the team to test them before visitors are redirected.

For editorial teams, the redirect map can sit beside the content approval record. The reviewer checks not only whether a new article is accurate and ready to publish, but also whether its final URL is stable and whether any retired article needs a route to it. Seovyn’s workflow researches topics and source material, drafts and quality-checks articles, and publishes approved content to the customer’s own site, so the team retains control of the destination. For a custom publishing endpoint, Seovyn’s signed webhook sends a signed POST when an article is approved or updated; URL routing still belongs in the site’s CMS or server configuration.

How to check and troubleshoot 301 redirects

A 301 redirect checker or site crawler should report more than whether a rule exists. For each source URL, check the initial status, Location destination, number of redirects, final URL and final response. A good result is a direct route to the intended page that returns a successful final response.

A command-line check can show the response headers. This example uses curl to make a request and display response headers without printing the page body:

curl -sS -D - -o /dev/null https://old.example.com/legacy-payments/

A sample expected response might look like this:

HTTP/2 301
location: https://www.example.com/services/payment-processing/

Then request the destination itself:

curl -sS -D - -o /dev/null https://www.example.com/services/payment-processing/

The final response should be suitable for a live page, commonly a successful 200 response. The sample output is an illustration of the expected pattern, not a result from a real site. A browser developer console, a redirect-checking service, or a crawler such as Screaming Frog SEO Spider can also collect response codes and final URLs for a list of pages.

For bulk checking, import the old URL inventory into a crawler or use a redirect-list feature in the site’s SEO tools. Export the initial status, redirect destination, hop count and final status. Sort first for unexpected results—such as final 404s, 5xx responses, temporary codes where permanent ones were planned, and destinations outside the intended host—then review destination relevance for the highest-value pages.

Troubleshoot in this order:

  • Unexpected 302: Compare the live response with the migration map. If the move is permanent, update the rule and repeat the request.
  • Redirect chain: If /old leads to /intermediate and then /new, revise the earlier rule to target /new directly when possible. This removes an unnecessary request and makes the final route easier to maintain.
  • Redirect loop: If two rules send the request back and forth, remove or correct the conflicting rule. Test the source and destination independently after the change.
  • Broken final destination: If the route ends at a 404, 5xx or unavailable page, publish or repair the destination, choose another relevant page, or remove the redirect if there is no valid replacement.
  • Irrelevant destination: If the response ends on a homepage or announcement that does not answer the old page’s need, revisit the mapping rather than treating the successful status as proof of a good result.
  • Old URLs still in site references: Search internal links, canonical tags and the XML sitemap. Update links that the site controls to point directly at the final URL and remove redirected addresses from the current sitemap.

A crawl report can expose mechanical errors, but it cannot reliably judge whether two pages serve the same purpose. Manually review the destinations for key product, service and article URLs. If a new page combines several old pages, compare its sections with the old pages’ main user needs and restore any important information that would otherwise disappear.

301 redirect checklist for a site migration

A migration checklist should cover preparation, launch and follow-up. For example, the acquisition case in this guide used a URL map, early publication of replacement pages and checks at week one, week two, and months one, two and three. Those are the reported team’s checkpoints; the right schedule for another site depends on its size, migration risk and monitoring needs.

Before launch

  • Export URLs from the old CMS, XML sitemap, analytics and Search Console. Add important URLs found through external links or customer-facing documents.
  • Identify pages with organic impressions or clicks, useful referring links, product information or support value.
  • Assign each important URL a disposition: direct replacement, consolidated destination, retain as-is or remove.
  • Review uncertain matches with the people who understand the old offer and the new one. Record why a page is considered a replacement.
  • Publish and test replacement pages before cutover where the launch plan allows. Check page content, availability, canonical URL and internal links.
  • Prepare redirect rules and save the final URL map. Keep a record of who approved the mappings and where the rules were implemented.

On launch

  • Activate redirects at the planned cutover and test a sample of high-priority old URLs from outside any logged-in CMS session.
  • Confirm that each sample returns the intended permanent status, reaches the mapped URL and ends at a working page.
  • Crawl the full old URL list to find unexpected status codes, chains, loops, broken destinations and host or HTTPS inconsistencies.
  • Update internal links, canonical references and navigation to point directly to current URLs.
  • Remove redirected URLs from the current XML sitemap and submit the updated sitemap through the site’s usual search-engine tools.

After launch

  • Monitor Search Console for crawling and indexing changes, and compare organic clicks and impressions for old and new URL groups.
  • Check for 404s and server errors on destination pages, especially when the site’s release process changes routes or removes content.
  • Review the map after the first crawl and again at planned checkpoints. Track fixes against individual source URLs rather than relying only on an overall traffic trend.
  • Keep redirect rules documented so a later redesign or CMS change does not accidentally remove them.

For content teams, the launch checklist should include editorial states as well as technical status. A draft may be ready to publish while its destination URL or replacement relationship is still unsettled. Seovyn’s Ghost publishing integration is for publishing SEO articles to a team’s Ghost site; when a published article later moves, the team still needs to maintain and test the redirect in its site setup. Editorial approval remains the default, while Seovyn Autopilot only publishes drafts that pass its hard SEO checks, Editor review, quality score threshold, topic qualification and spot-check process (Autopilot rules).

Common 301 redirect mistakes to avoid

Sending every removed URL to the homepage. This shortcut discards the distinction between product pages, articles, support pages and campaign URLs. A visitor following a link to an old product page expects information about that product, not a generic introduction to the company. Redirect to a genuinely relevant page; when there is no such page, use an appropriate removal response instead.

Matching pages only by a shared keyword. Two URLs may both mention “payments” but serve different products or audiences. Compare page purpose, subject and user intent. If a parent site launches a new service, the old acquired-company page is not automatically a suitable replacement just because both target a payment-related term.

Creating long chains during multiple site changes. An old URL can accumulate a protocol change, a hostname change and a slug change as separate rules. For example, a request could pass from HTTP to HTTPS, then from www to the preferred host, then from the old path to a new one. Keep the final map direct where practical and retest earlier routes after later migrations.

Leaving redirects aimed at pages that later become 404s. A destination may be live at launch and then disappear in a future content cleanup. Include redirect destinations in later site crawls; a source-to-destination map is only useful if the destination continues to work.

Leaving old URLs in internal links or sitemaps. Redirects are useful for visitors arriving from old bookmarks or external references. The site itself can link directly to the current URL. Update navigation, contextual links, canonical references and sitemap entries so internal discovery does not depend on a redirect.

Treating a 301 as a replacement for content planning. If the new page does not answer the old page’s main questions, the redirect cannot supply the missing content. Before a move, decide which information should be preserved, rewritten, consolidated or removed. A technical map should reflect those editorial decisions, not make them on behalf of the content team.

Assuming a successful status code proves migration quality. A crawler can confirm that an old URL returns 301 and the destination returns 200, yet the pages may be a poor match. Pair automated checks with a human review of priority destinations. That review is particularly useful when several acquired-site pages are being consolidated into one new service page.

FAQ

Can a 301 redirect be changed or removed later?

Yes. A site owner can change a redirect rule or remove it from the server or CMS. Before doing so, check whether external links, bookmarks, email campaigns or internal references still use the old URL. If the old content has a new replacement, point the route to the current final URL and test it; removing a route that still receives visits can create a dead end.

What happens if the destination of a 301 returns a 404?

The redirect sends the request to the destination, but the destination then returns a not-found response. Visitors still encounter an error, and crawlers see an incomplete route. Repair or republish the destination, select another page that serves the old need, or remove the redirect when no useful replacement exists.

Should a redirect include tracking parameters or every URL variant?

The map should cover URL versions that receive real visits, links or search activity, while avoiding duplicate or conflicting rules. Test representative versions with and without query parameters and with the site’s preferred slash and hostname format. The exact handling depends on the site’s routing rules, so the production response is the reliable test—not assumptions based on the visible path alone.

Does changing an article’s URL require a new article?

No. If the article remains useful and only its permanent URL changes, keep the content at the new address and redirect the old URL to it. Update internal links and canonical references to the new address. If the article’s subject or purpose changes substantially, review the content and destination separately rather than treating a URL update as an automatic content replacement.

A clean redirect plan is part of publishing quality: the new page should be useful, the old URL should have a deliberate disposition, and the final route should work. Seovyn helps lean teams research topics from real sources, draft and quality-check articles, and publish approved content to their own site with editorial control. To build a reviewed publishing workflow, Start free.

Keep reading

More from the blog →