Skip to the main content
{}
Back to all articles

Technical article

SEO migration for a new website: reduce organic search risk

Reduce migration risk with retained URLs, relevant redirects and checks for canonicals, languages, sitemaps and indexing.

By Codegenie2 minute read
  • SEO & content
  • SEO
  • migration
  • new
  • website
  • losing
Local search results and location markers on a laptop and smartphone.
In this article

An SEO migration limits avoidable loss during a website change; nobody can guarantee unchanged rankings. Keep useful URLs when possible and give each moved or removed page a deliberate HTTP outcome.

Inventory and baseline

Combine the existing sitemap, an internal crawl, known incoming links and available search data. Include language variants and PDFs if they receive traffic or links. Record the measurement period and review content as well as clicks. Missing data does not prove a page has no value.

Build a redirect map with a reason

  • Retained page: the same URL returning 200 with relevant content.
  • Moved page: a direct permanent redirect to its substantive successor.
  • Consolidated page: redirect only if the destination adequately answers the previous question.
  • Removed page without a successor: a useful 404 or 410, rather than an arbitrary homepage redirect.

Illustrative Laravel mapping

Map old URLs to explicit permanent redirectsroutes/web.phpphp
Route::redirect('/oude-dienstenpagina', '/nl/diensten', 301);
Route::redirect('/old-services-page', '/en/services', 301);
Route::redirect('/ancienne-page-services', '/fr/services', 301);

These route fragments illustrate three explicit permanent redirects. Use them only if the destinations exist and describe the same service. A 301 without a relevant destination is not a successful migration.

Test the destination as well as the initial status

  • Follow each important old URL to the final page and check loops and chains.
  • Check final status, visible content and self-canonical.
  • Update internal links, hreflang and sitemap to final URLs.
  • Deliberately remove temporary staging blocks and check indexability on the published host.

Separate errors from search fluctuations

Check server errors and broken routes immediately after publication. Monitor indexing and equivalent query-page combinations across comparable periods. Google recommends retaining redirects for a long time, generally at least a year. A temporary fluctuation needs investigation, rather than an immediate second URL restructure.

Code examples are illustrative. They have not been executed in a complete Laravel project; adapt imports, relationships, routes and configuration to your project and test actual behaviour.

Last updated:

Need technical context for your own project?

Codegenie helps with Laravel applications, existing codebases, shared-hosting deployments and technical improvements.