Chapter 11
The redirect mapping: how old URLs keep their value
Table of contents
A 301 redirect tells Google: this page has moved permanently, here is the new address. Google then passes the signals of the old URL to the new one. That works reliably if the redirect points to the right page and stays in place long enough.
In short: Every old URL with value needs a 301 redirect to the matching new page, without chains and not blanket-redirected to the homepage. Google treats mass redirects to the homepage like error pages. The redirects should stay in place for at least one year, preferably permanently.
What Google says
Google documents site moves in detail. The key points for decision-makers:
Permanent redirects don't cost link value. According to Google, 301 and other permanent redirects don't lead to a loss of PageRank.
The move happens page by page. Google has to visit every old and every new URL at least once. Important pages are processed faster; the whole move can take several months for large stores.
Keep redirects for at least a year. Google's John Mueller recommends at least one year. He explicitly calls three months too short.
The six rules of a good mapping
One to one: every old URL points to the most relevant new page. A product to the same product, a category to the same category.
Best match when something is discontinued: if a product no longer exists, the redirect points to the successor product or the matching category. If there is no sensible equivalent at all, an honest error page is better than a redirect into nowhere.
Not everything to the homepage: according to John Mueller, Google treats redirecting many old pages to the homepage like error pages. The signals are lost, and customers end up where they didn't want to go.
No chains: every redirect leads directly to the target, not via intermediate stops. That also applies to old redirects from earlier relaunches, which must be updated to the new target.
Status 301: permanent moves need a permanent redirect. Temporary redirects are meant for promotions, not migrations.
All variants of the address: with and without trailing slash, with and without www, http and https, upper and lower case. Every spelling that is in the index needs a target.
Special cases that are often forgotten
Variants: if every color or size had its own URL, decide whether it points to the variant or the main product.
Filter pages: indexed filter pages with rankings need an equivalent target page, such as a category with the corresponding filter or a dedicated landing page.
Images and PDFs: product images in Google Images and data sheets with backlinks are often forgotten.
Languages and countries: every language version points to its own equivalent, not to the default-language page.
How Shopware 6 and Shopify implement redirects
Shopify manages redirects natively in the admin and imports them via a CSV file with two columns: old address and new address. According to Shopify, up to 100,000 redirects are possible, up to 20 million on Shopify Plus. A redirect only takes effect if no valid page loads at the old address anymore. Pattern rules require apps.
Shopware 6 automatically redirects old addresses when a URL changes within Shopware. For addresses from the old system, you need a redirect extension or rules at web server level. With very many redirects, the web server is usually the faster solution. And because Shopware generates URLs from templates, part of the old structure can often be replicated directly. Every URL that stays the same needs no redirect.
Testing before go-live
The mapping is checked completely on the test system, not with samples. A crawler calls all old URLs and checks:
Does every old URL respond with 301?
Does every redirect lead in one step to a page with status 200?
Does the target match in content?
After go-live, the same test is repeated on the live system. Only then is the mapping complete.
How the mapping is built: four methods
Method | How it works | When it fits |
Mapping via SKU | old URL, old SKU and new URL are linked via the number | products, when SKUs stay stable, the most reliable method |
Pattern rule | a rule redirects entire paths, such as all addresses ending in .html | systematic changes such as endings or prefixes |
Similarity of title and content | old and new pages are compared by title or content | content pages, guides, renamed categories |
Manual mapping | a person decides per URL | A pages and all cases where automation is uncertain |
In practice all four are combined. What matters is that you end up with a single table: old URL, new URL, method, checked yes or no.
404 and 410 are nothing to be ashamed of
Not every old page needs a target. For products that no longer exist and have no sensible replacement, a 404 or 410 is more honest than a redirect to an unsuitable page. Google treats redirects to an unrelated page, or mass redirects to the homepage, like error pages anyway. What matters is that pages with clicks or links get a suitable target.
The test after go-live
Load the complete list of old URLs into a crawling tool and check four things for every address:
Does the old URL respond with 301?
Does the redirect lead to the target in exactly one step?
Does the target respond with 200?
Is the target indexable, i.e. without noindex and with a self-referencing canonical?
Only when all four points are met for all A pages is the mapping really live.
Questions to ask your agency
Will the complete mapping be available as a file before go-live, and may I review it?
How will you test all redirects automatically before the switch?
How long will the redirects stay in place, and who is responsible for that after the project?
What you can check today
Is there a written mapping with old URL, new URL and status for every class A page?
Is it ruled out that unmapped URLs are blanket-redirected to the homepage?
Have old redirects from earlier relaunches been updated to the new targets?
Is it contractually agreed that the redirects stay in place for at least one year?
Frequently asked questions
At least one year, preferably permanently. Google's John Mueller recommends at least one year and explicitly calls three months too short. Since redirects cost almost nothing, there is little reason to remove them.
Not across the board. According to John Mueller, Google treats many redirects to the homepage like error pages. Redirect every URL to the most relevant new page, and for discontinued products to a successor or the category. If there is no equivalent, an error page is the more honest solution.
Not according to Google. Permanent redirects don't lose link value. Short-term fluctuations occur because Google has to reprocess every URL. Lasting losses come from missing or wrong redirects.
With a crawl of the complete list of old URLs after go-live. Every old address must lead with a 301 in exactly one step to an indexable target with status 200. For the most important pages, this must hold without exception.
For addresses from the old system, usually yes. Shopware 6 redirects URLs that change within Shopware. For foreign old addresses, you need a redirect extension or rules on the web server.
)