In short
When two or more pages on the site meet the same search intent, they compete with each other. Merging means bringing their best content together on a single URL, then 301 redirecting the others to it. Once the task is done, each intent has one reference page, more complete than any of the old ones, and all the old addresses lead to it.
Why it matters
Two closely related articles on “descaling a hot water tank” and “maintaining your water heater” split impressions, clicks and links. The search engine sometimes alternates between them from one day to the next, and neither wins out. Visitors, for their part, land on half an answer.
A well-executed merge consolidates the signals. Google states that a permanent redirect (301 or 308) is a strong canonicalization signal: the target URL is the one it tends to show in search results. Links that pointed to the old page keep working, since they lead to the new one.
On the generative engine side, the hypothesis is the same: a single, complete and consistent page is a clearer source than two partial pages that sometimes contradict each other. No merge guarantees a citation.
Merging is not always the right answer, hence the “if relevant”. Two pages that share a topic but serve two distinct intents should stay separate.
What it improves
- Rankings A single page receives signals that were previously scattered. The effect is common but not guaranteed, and it can take several weeks.
- Cannibalization The query now has only one candidate URL on the site.
- Visitor experience One complete answer instead of two partial ones.
- Backlinks Links to the old URL benefit the page you keep, thanks to the redirect.
- Maintenance One piece of content to keep up to date instead of two.
- AI answers A single, consistent source on the topic. A plausible effect, not measured.
How to check
Find candidates. In Search Console, Performance report, filter on an important query and open the Pages tab: two or more URLs receiving impressions for the same query, with alternating positions, are candidates. The full method is in detect keyword cannibalization (opens in a new tab), and the inventory in identify outdated and redundant content (opens in a new tab).
Check a merge that has already been done. The old URL must respond with a 301 or 308 directly to the page you kept:
curl -sI https://example.com/blog/detartrer-ballon-eau-chaude/ | grep -i -E "^HTTP|^location"
Expected result:
HTTP/2 301
location: https://example.com/blog/entretien-chauffe-eau/
Then check that the page you kept responds with a 200, that no internal link still points to the old URL, and that the old URL has left the sitemap.
How to implement
Example used throughout: Plomberie Garnier, a fictional plumbing and heating contractor in Nantes, has two articles, /blog/detartrer-ballon-eau-chaude/ and /blog/entretien-chauffe-eau/.
Step 1 — Decide whether to merge
| Merge if | Do not merge if |
|---|---|
| Both pages answer the same question, for the same audience | The pages serve two intents: choosing or buying, understanding or booking |
| Google's results for the query show pages that cover both angles together | The results show separate pages for each angle |
| One of the pages is a subset of the other | Each page has its own audience: consumers and businesses, two cities you actually serve |
| Both pages are weak, and together they would form a complete answer | One of the pages converts well and the merge could dilute its sales message |
If in doubt, look at the first page of results for the two main queries. If the same competing URLs come up, the search engine treats the two queries as a single intent.
Step 2 — Choose the URL to keep
Keep the URL that meets the most of these criteria, in order of priority:
- the most referring domains (Search Console, Links report, or Ahrefs Webmaster Tools);
- the most organic clicks over twelve months;
- the most conversions;
- a durable address: no year, no version number, at the right level of the hierarchy.
If the best page has a poor URL (/blog/entretien-chauffe-eau-2021/), you can publish the merged content on a new URL and redirect both old ones to it. It means more work and more risk: keep it for genuinely problematic URLs.
Step 3 — Write the merged version
Fill in a merge sheet before writing:
| Element | Page A /blog/entretien-chauffe-eau/ (kept) |
Page B /blog/detartrer-ballon-eau-chaude/ (merged) |
Final version |
|---|---|---|---|
| Clicks, 12 months | 820 | 140 | — |
| Referring domains | 4 | 2 | — |
| Main queries | water heater maintenance, hot water tank maintenance | descale hot water tank, drain water heater | All |
| Unique sections | Maintenance frequency, role of the anode | Step-by-step descaling, equipment | Both, without duplication |
| Information to recheck | Price of a service (2022) | None | Updated, dated price |
| Inbound internal links | 12 | 5 | 17, to repoint |
Fictional values.
Then write:
- Start from the page you keep and add the unique sections of the other page at the logical place in the outline.
- Remove duplication: when both pages say the same thing, keep the better wording, not both.
- Cover the queries of both pages: the final page must explicitly answer “how to descale” as well as “when to service”.
- Update the figures, prices and sources along the way. See check figures and dates (opens in a new tab).
- Rework the title and the H1 so they cover the broader intent, without stacking keywords.
- Keep the anchors of popular sections of the merged page if other sites link to them (
#materiel).
The displayed update date changes, since the content really changes. See display actual dates (opens in a new tab).
Step 4 — 301 redirect the old URL
Publish the merged version first, then set up the redirect. Redirect each old URL directly to the page you kept, without a chain. The general rules are in use 301/308 for permanent moves (opens in a new tab).
Apache
Versions Apache 2.4.
In the .htaccess file at the site root, or in the <VirtualHost> block:
RedirectMatch 301 ^/blog/detartrer-ballon-eau-chaude/?$ https://example.com/blog/entretien-chauffe-eau/
RedirectMatch with ^…$ avoids also redirecting subpaths, which the plain Redirect directive does. On WordPress, place the line above the # BEGIN WordPress block. In a VirtualHost, reload with sudo apachectl configtest && sudo systemctl reload apache2; the .htaccess file is read on every request.
Nginx
Versions Nginx 1.24 and later; the return directive is the same in all maintained versions.
In the site's server block, for example /etc/nginx/sites-available/example.com:
location = /blog/detartrer-ballon-eau-chaude/ {
return 301 https://example.com/blog/entretien-chauffe-eau/;
}
Test and reload:
sudo nginx -t && sudo systemctl reload nginx
Cloudflare
Versions Cloudflare dashboard, all plans, November 2026.
For a few URLs: Rules > Overview > Create rule > Redirect Rule (Rules). Choose a pattern or an expression that targets the old URL, enter the target URL and the 301 status code, then Deploy. The hostname must be proxied by Cloudflare. For hundreds of URLs, the Bulk Redirects feature, at account level, manages a list of redirects; see its documentation.
WordPress
Versions WordPress 6.4 to 7.1; Redirection, Rank Math and Yoast SEO Premium plugins in their November 2026 versions.
- Switch the old post to draft or move it to the trash, after copying whatever needs to be kept.
- Create the redirect with the Redirection plugin (
Tools > Redirection > Add new redirection), with the Rank Math Redirections module or with the Yoast SEO Premium redirect manager: source URL/blog/detartrer-ballon-eau-chaude/, target/blog/entretien-chauffe-eau/, 301 code.
WordPress automatically redirects a post whose slug you changed, but not a deleted post to another post: a manual redirect is still needed for a merge.
Shopify
Versions Shopify admin, all plans, November 2026.
Shopify only redirects a URL that returns a 404 error: first delete or hide the old blog post. Then go to Content > Menus > View URL redirects > Create URL redirect: “Redirect from” /blogs/conseils/detartrer-ballon-eau-chaude, “Redirect to” /blogs/conseils/entretien-chauffe-eau, then save. For many URLs, the Import button on the redirects list accepts a CSV file.
Laravel
Versions Laravel 10 to 13.
In routes/web.php:
use Illuminate\Support\Facades\Route;
Route::permanentRedirect('/blog/detartrer-ballon-eau-chaude', '/blog/entretien-chauffe-eau');
permanentRedirect responds with a 301. If the articles come from a database, a redirects table read by a middleware saves you from touching the routes for every merge.
Next.js
Versions Next.js 15 and 16, both App Router and Pages Router.
In next.config.js (or next.config.ts, accepted since Next.js 15):
module.exports = {
async redirects() {
return [
{
source: '/blog/detartrer-ballon-eau-chaude',
destination: '/blog/entretien-chauffe-eau',
permanent: true,
},
];
},
};
permanent: true responds with a 308, which Google treats as a permanent redirect just like a 301. Redeploy to apply the rule.
Step 5 — Clean up around the redirect
- Internal links: replace every link to the old URL with a direct link to the page you kept. A Screaming Frog crawl (Response Codes tab, redirection filter, then Inlinks) lists them. See fix links to redirects or non-canonical URLs (opens in a new tab).
- Sitemap: the old URL must no longer appear in it, while the page you kept must, with an up-to-date
lastmod. The SEO plugins for WordPress and Shopify handle this on their own. - Canonical: the page you kept carries a self-referencing canonical.
- Existing redirects: if other URLs already redirected to the old page, point them to the page you kept to avoid a chain.
- Important external links: when a partner site links to the old URL, ask them to update the link. The redirect works without it, but a direct link is cleaner.
Step 6 — Request crawling and monitor
In Search Console, inspect the page you kept (URL Inspection) and request indexing. For Bing and compatible search engines, submit both URLs through IndexNow if the site uses it (see set up IndexNow if relevant (opens in a new tab)).
Then, four to eight weeks later, compare the clicks and impressions of the page you kept with the total for both pages before the merge, on the same queries. Keep the redirect in place for the long term: at least a year, and longer if the old URL still receives visits or links.
Common mistakes
- Merging two different intents: the final page serves neither of them well.
- Redirecting without merging: the old page disappears along with its unique sections, and the page you kept does not answer the other page's queries.
- Using a 302: a temporary redirect does not tell the search engine which URL to keep.
- Redirecting to the homepage or a category instead of the page that takes over the content. See avoid redirecting all removed pages to the homepage (opens in a new tab).
- Keeping both pages and adding a canonical: the canonical is a hint, not a directive, and visitors keep landing on the weak page.
- Forgetting internal links: they go through a redirect for years.
- Judging too quickly: rankings can fluctuate for a few weeks after the merge.
Frequently asked questions
When should you merge two blog posts?
Merge two posts when they answer the same question for the same audience, and neither of them wins out in the search results. The typical sign: the same query sends impressions to both URLs in Search Console, with alternating positions. If the posts serve two distinct intents, such as understanding a problem and booking a job, keep them separate and link them to each other.
Which URL should you keep when merging content?
Keep the URL with the most referring domains, then the most organic clicks and conversions, provided its address is durable: no year and no version number. Publish the merged content on that URL and 301 redirect the others to it. Changing the URL at the time of the merge is possible but adds risk: keep that for addresses that are genuinely badly built.
Does merging pages lose traffic?
A well-executed merge rarely loses traffic for good, but rankings can fluctuate for a few weeks while the search engine processes the redirect. Losses mainly come from mistakes: a temporary redirect, a redirect to a page that does not take over the content, forgotten unique sections, internal links still pointing to the old URL. Compare the page you kept with the total for both pages four to eight weeks later.
Should you use a 301 redirect or a canonical tag to merge pages?
Use a 301 redirect when the old page no longer has a reason to exist. It sends both visitors and the search engine to the page you kept, and Google treats it as a strong canonicalization signal. The canonical tag suits cases where both pages must remain accessible, such as a printable version. It is a hint the search engine can ignore, and visitors keep landing on the weak page.
Resources
- Google Search Central: Redirects and Google Searchdevelopers.google.com
- Google Search Central: Consolidate duplicate URLsdevelopers.google.com
- Search Console Help: URL Inspection toolsupport.google.com
- Apache: mod_alias, RedirectMatch directivehttpd.apache.org
- Nginx: return directivenginx.org
- Cloudflare: Create a single redirect in the dashboarddevelopers.cloudflare.com
- Shopify: URL redirectshelp.shopify.com
- Laravel: redirect routeslaravel.com
- Next.js: redirectsnextjs.org
Updated on
Topic checklist (PDF)