Why rankings get lost in a move
Google remembers pages by their URL. The ranking, the links from other websites and your customers’ bookmarks all hang on that URL. If a store moves without the old URLs pointing to the new ones, Google finds only error pages there and gradually removes them from the index. The new pages then start from zero.
On Shopify you can’t avoid this by simply keeping the old URLs. The structure is predefined:
| Page type | Old URL (pattern) | URL in Shopify |
|---|---|---|
| Product | /damen/jacken/regenjacke-nora.html | /products/regenjacke-nora |
| Collection | /damen/jacken/ | /collections/damenjacken |
| Content page | /ueber-uns.html | /pages/ueber-uns |
| Blog post | /ratgeber/jacke-impraegnieren | /blogs/ratgeber/jacke-impraegnieren |
Shopify migration SEO therefore means above all: know every old URL and give each one a new target. On top of that come titles, descriptions, structured data and the check after launch.
Step 1: Capture all old URLs
The list from the store system alone isn’t enough. Over the years, URLs accumulate that no longer show up in the admin but still bring visitors from Google. So we combine several sources:
- the export of products, categories and content pages from the old system
- the sitemap of the old store
- a crawl, meaning an automated pass through all linked pages
- the pages that have clicks and impressions according to Search Console
- the pages that other websites link to
- the URLs of product images, if your store gets visitors from image search
For each URL we record how many visitors it brings. This shows which pages need the most care in the move.
Step 2: Give every URL a target
For products, categories and content pages, most of the mapping can be generated from the data: the old item and the new product share the SKU. We map the rest by hand. A few rules apply:
- Every URL leads to the page with the same content, not to the home page.
- Variants that used to have their own pages point to the shared product.
- Filter and sort pages of the old store point to the collection.
- Several spellings of the same page, with and without a trailing slash or ending, all get an entry.
- Old image URLs with visitors from image search point to the new image or to the product.
Shopify only redirects URLs that no longer load a valid page. That fits the move, because the old URLs don’t exist in the new store. We check one restriction early: Shopify can’t redirect URLs that begin with /shop, /cart, /orders, /apps or /services. If your old store lived in a /shop/ directory, that needs a solution before launch.
We upload the finished list to Shopify as a CSV file. Every redirect is permanent, so Google transfers the rating of the old page to the new one.
Step 3: Carry over content with equivalent value
A redirect only helps if the target contains what Google valued on the old page.
- Titles and descriptions
- Page titles and meta descriptions move along. We rework entries that are too long or duplicated while we're at it.
- Collection texts
- Texts above or below the product list are the thing most often lost in moves. We carry them over into the collections.
- Headings
- The theme has to set exactly one main heading per page. We check this on every page type.
- Internal links
- Links in product texts and blog posts often still point to old URLs. We switch them to the new ones.
- Images
- File names and alt texts are kept, as far as the old system hands them out.
- Languages
- Each language version needs its own redirects and the reference to the other versions.
Step 4: Check structured data
Structured data is information in the source code that Google uses to recognize a product’s price, availability and reviews. Shopify themes come with this markup for products. We still test every page type with Google’s testing tool, because errors creep in easily: a missing price on variants, duplicate entries caused by an app, or stars that disappear because the reviews haven’t been imported yet.
Shopify generates the sitemap, robots.txt and canonical tags that prevent duplicate content itself. There is nothing to set up here, but quite a bit to check.
SEO checklist for the move to Shopify
Before launch
- Complete list of old URLs with visitor numbers
- Target for every URL, important pages checked by hand
- Titles, descriptions and collection texts carried over
- Internal links switched to new URLs
- Structured data tested on product, collection and article
- Rankings and visitor numbers saved as a baseline for comparison
On cutover day
- Redirects imported and spot-checked
- Password protection removed from the new store
- New sitemap submitted in Search Console
- The pages with the most visitors checked one by one
In the weeks after
- Review the page indexing report in Search Console for error pages
- Add missing redirects
- Compare clicks and rankings with the saved baseline
- Keep the old store’s data and URL list until everything is mapped
What the individual Search Console messages mean is explained under Google Search Console errors.
What we take on in the migration
In every migration to Shopify, this part is included: URL list, mapping, import of the redirects and the check after launch. If you’ve already moved and your visitor numbers are dropping, we look at which URLs lead nowhere and add the redirects. That is still worthwhile months later.
The move is also a good time to tackle visibility as a whole. What that involves is described on our Shopify SEO agency page.