Here to shame limits.

Blog
Blog

Migrating your store to WooCommerce without losing Google rankings

Development
[ 10 min reading time ]

On a schedule, moving a store to a new platform looks like a technical task: export the products, import them, switch the DNS. The cost of a mistake, however, is measured not in working hours but in traffic that does not come back. Stores that approached it without a prepared URL map saw organic traffic drops of several dozen percent, and rebuilding their rankings took months instead of weeks. With a correctly run process you should expect a temporary dip, but it stays within a dozen or so percent and recovers within a few weeks. Migrating a store to WooCommerce can be planned so that this risk stays under control. Below you will find the mechanism behind the drop, how to build a redirect map, the pitfalls of the WooCommerce URL structure and the elements that typical checklists leave out.

Where the drop in visibility after migration comes from

Google does not assess a store as a whole, only individual URLs. The ranking of a product page is tied to a specific address, along with its link history, user behaviour signals and index data. Changing platforms almost always changes the URL structure, so for the search engine the old address ceases to exist and the new one starts from scratch.

A 301 redirect transfers some of these signals to the new address, but not immediately. The crawler has to revisit the old address, read the redirect and then process the new document. In a large store with several thousand products this process stretches over weeks, because the crawl budget is limited. That is the period that shows up in the statistics as a dip.

The size of the dip depends almost entirely on how complete the redirect map is. An address without a redirect returns a 404 error, loses its ranking for good and also wastes crawl budget. An address redirected to an irrelevant page, for example all products to the home page, is treated much like an error, because the search engine recognises a redirect that does not match the content.

The second cause of drops is simpler and more often overlooked: the new store launches with thinner content. Product descriptions shortened during import, missing alt text, and lost headings and page titles reduce relevance to queries regardless of redirects. Exporting from one platform to another rarely preserves every field, and whatever is not in the import file simply ceases to exist.

The redirect map: from URL export to 301 rules

The starting point is a complete list of URLs that currently generate traffic or are indexed. An export from the platform panel alone is not enough, because it does not include retired addresses that still have external links. Three sources together give a complete picture: a crawl of the whole domain with a tool such as Screaming Frog, the Google Search Console performance report for the last twelve months, and the top pages report from a link analysis tool.

These sources produce a spreadsheet with two columns: old URL and new URL. With several thousand products, mapping one to one by hand makes no sense, so the list is usually split into two parts. URLs with a repeating pattern, meaning product pages and categories, are mapped with a regular expression rule based on a shared identifier, most often the part of the URL that corresponds to the product name. Atypical URLs, meaning information pages, blog posts and campaign landing pages, are mapped by hand, because there is no pattern there.

It is best to implement the rules on the server, in the Nginx configuration or the .htaccess file, not in a plugin. With several thousand rules, a redirect plugin adds a database query to every request, including every bot request. The server handles the rules before PHP runs, so it does not burden the application. A plugin remains convenient for adding individual rules after launch, when new 404 errors appear in Search Console.

Two mistakes regularly appear here. The first is redirect chains, where the old address leads to a temporary address and that one to the correct page. Every link in the chain delays processing and weakens the signal, so rules must be flattened into a single hop. The second is loops, created by imprecise regular expressions that also catch the target address. Before deployment, the entire map should be tested against the URL list with a tool that checks response codes.

A separate decision concerns products that do not move to the new store because they are no longer on offer. A redirect to the parent category makes sense when a real substitute exists. When it does not, the correct response is a 410 code, meaning the resource has been permanently removed. The search engine drops such an address from the index faster than with a 404 and stops coming back to it.

URL structure in WooCommerce and permalink pitfalls

The biggest technical difference that migrating a store to WooCommerce introduces is the way URLs are built. By default WooCommerce adds its own bases to addresses: a product page sits under a URL with a product segment, and a category listing under a product-category segment. The result is a URL that is longer and built differently than on most e-commerce platforms, where the product page sits directly in the category directory. The structure has to be decided before building the redirect map, because changing permalinks after launch means a second URL migration.

WooCommerce permalink settings let you remove the category base and shorten the URL. This decision can only be reversed at the price of another redirect map, so it should be considered once, at the project stage. Keep in mind that URL length itself has marginal importance for rankings, while consistency and stability matter a great deal.

The third area is the category hierarchy. If a product belonged to one category in the old store but is assigned to several in WooCommerce, additional paths to the same product page are created. Without a correct canonical URL, the search engine will see duplicates and choose the version to index on its own, not necessarily the one that ranked before.

What typical checklists leave out

The first overlooked item is the staging environment. A store built on staging usually has a robots.txt file that blocks indexing and a global noindex tag. If deployment means moving the files and database to production, both go along with everything else. The result is the entire site dropping out of the index within a few days, even with working redirects. Checking robots.txt and the noindex tag is the first thing to do after the switch, not the last.

The second is URLs generated by filters and sorting. WooCommerce adds parameters to the URL when filtering by price, attribute or display order. Each combination is technically a separate URL with almost identical content. Without setting the canonical URL to the clean category, or excluding the parameters, the store generates thousands of low-quality URLs that use up the crawl budget needed for product pages.

The third is pagination. A paginated category listing must have a canonical URL pointing to itself, not to the first page of the list, otherwise products on later pages do not get indexed. This is the most common reason why a store has five thousand products but only eight hundred are indexed.

Merchant Center, structured data and reviews

Changing platforms almost always changes product IDs in the feed. For Google Merchant Center, the ID is the key that links a product to its history, so changing IDs means losing performance data and having to re-verify offers. If the IDs can be preserved, it is worth doing so even at the cost of extra work during import. If not, the feed must be prepared and approved before the switch, not after.

Product listings in search results rely on structured data in JSON-LD format. WooCommerce generates a basic set, but a complete entry includes price, availability, ID, brand and ratings. Missing even availability causes the result to lose its rich features, which lowers the number of clicks at an unchanged position.

Moving reviews has to be planned separately. Product ratings are usually content stored in a platform table or an external service, so a standard export does not include them. Losing reviews means losing stars in search results and lower conversion on the product pages that used to have them.

When to migrate and what a rollback plan looks like

The date is chosen according to the store’s seasonality, not the team’s convenience. Migrating a week before Black Friday or in the middle of the Christmas campaign means the window of highest traffic falls on the moment of greatest technical uncertainty. The natural windows are the periods of lowest sales, and within a week, Monday or Tuesday morning, so that any problems can be solved on a normal working day rather than at the weekend.

The rollback plan is the element most often missing. Before the switch you need a working copy of the old store, the previous DNS record saved along with its time to live, and an agreed threshold beyond which you return to the previous version. Without an agreed threshold, the decision to roll back is made under pressure and usually too late.

Redirects are kept for at least a year, and for a store with many external links indefinitely. They are server rules, so they cost nothing but space in the configuration, and removing them after six months turns part of the rebuilt traffic into 404 errors. Google Search Console is monitored intensively during the first four weeks, and the first reliable conclusions about rankings are drawn three to four weeks after launch.

How to run the launch day?

The order of tasks on switch-over day determines how many errors are caught before the search engine crawler sees them. The steps below assume that the redirect map is ready and tested, and that the store on the new platform has passed order tests.

  1. Lower the DNS record’s time to live to a few hundred seconds at least a day before the switch, so that a rollback takes minutes, not hours.
  2. Before the switch, make a full backup of the old store, files and database, and verify that it can be started. A backup that nobody has restored is not a backup.
  3. After the switch, check in this order: the robots.txt file, the presence of a noindex tag in the code of the home page and a random product page, the certificate, and then the response codes for a list of the hundred most important old URLs.
  4. Submit the new sitemap in Google Search Console and check the indexing and coverage reports to catch mass errors in the first hours.
  5. Place a test order with payment and check notification emails, the Merchant Center feed and discount codes. Traffic without a working cart is worse than no traffic.

Summary

Migrating a store to WooCommerce is not risky in itself. What is risky is treating it as an operation on products rather than on URLs. A complete redirect map built from three independent sources, a permalink structure decided before launch, control over filter parameters and pagination, and a rollback plan with an agreed threshold are what separate a temporary dip from months of rebuilding.

It is also worth accepting that the first four weeks after launch are part of the project, not a period after it. That is when 404 errors appear on URLs nobody remembered, and when adding a rule costs a few minutes rather than a lost ranking. If you are planning a platform change and want to know before launch how many URLs need mapping and where the real risks in your store lie, book a free consultation.

FAQ

Migrating a store to WooCommerce – frequently asked questions

01

How long does the traffic drop after a store migration last?

With a properly prepared redirect map, the temporary drop usually lasts for the first two to four weeks, and returning to previous rankings takes a few weeks. With incomplete redirects, recovery is measured in months.

02

Do you have to keep the old product URLs?

No, but every old URL must return a 301 redirect to a relevant new URL. Keeping an identical structure simplifies the project, but it is not a condition for keeping rankings.

03

What should you do with products that are not in the new store?

If a real substitute exists, redirect to it or to the parent category. If the product has been permanently discontinued, the correct response is a 410 code, which removes the URL from the index faster.

04

Does the Change of Address tool in Search Console help with a platform migration?

Only when the domain changes. When changing platforms within the same domain, the tool does not apply, and server-side redirects are the only mechanism that transfers signals.

05

How long should 301 redirects be kept?

At least a year, and for a store with many external links indefinitely. Server rules have no maintenance cost, while removing them turns working URLs into errors.

06

When is the best time to migrate?

During the lowest sales period of the year, and within the week on Tuesday morning. Avoid campaign windows and the pre-Christmas period, because that is when every hour of downtime costs the most.

Author IVN Developers Web Developer
Table of contents

Did you like this article?

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.