
Key takeaways
- Ahrefs examined Mention.com's January 2016 subdomain to subfolder migration in Site Explorer and saw traffic move to the new location without a clear increase.
- Growth on Mention.com appeared only after the site started adding additional content, so the URL change alone did not explain it.
- Patrick Stox argues that published subfolder success stories usually involved other changes, such as extra internal linking or merging several properties into one.
- Google's quoted position from Matt Cutts and John Mueller is that either subdomains or subdirectories are fine for search.
- This is a single observational case with no control group, so it challenges the subfolder-always-wins claim but does not settle it.
The common advice is that a subfolder beats a subdomain. Ahrefs tested that against a real migration and found the picture less clear. This write-up covers what that analysis did and did not show, and what Google’s own documentation says to do if you move a blog anyway.
What did Ahrefs actually test?
Patrick Stox, a technical SEO at Ahrefs, looked at Mention.com, which moved from a subdomain to a subdirectory in January 2016. Using the Top Pages report in Site Explorer, he checked whether traffic rose after the move. It did not: traffic shifted to the new location, and growth began only once the company started adding additional content.
He set that against GitHub’s blog, which went the other way and then further: from github.com/blog to blog.github.com, and then to a separate domain, github.blog. He saw some flux during each transition but no evidence that any one structure was better.
What did Google say about subdomains and subfolders?
The Ahrefs article quotes two Google voices. Matt Cutts (2012) called the two roughly equivalent and suggested choosing whichever is easier to configure. John Mueller (2017) said Google web search is fine with either, and advised picking a setup you can keep, since URL changes take time to settle.
Does Google treat a subdomain as a separate site?
Not automatically, according to Stox. A subdomain that looks like an integral part of the site is treated as part of the main website, and he points to large brands whose subdomains appear as sitelinks under the main result. The deciding factor he names is internal linking: a subdomain with few links to and from the main site may be treated separately, and the same is true of a poorly linked subdirectory. He also notes that subdomains once produced extra listings in results until Google clustered results by host, which closed that loophole.
Why do other case studies disagree?
Stox argues that published subfolder wins usually coincide with something else changing at the same time. He lists six confounders:
- Temporary signals. Moved pages can carry temporary site-level signals while Google works out where they should rank.
- Measurement problems. Analytics misconfiguration, seasonality or a core update landing in the same window can distort a before and after comparison.
- Blocked or noindexed pages. A misconfigured subdomain can stop signals from consolidating in the first place.
- Redesign or platform change. A new CMS, faster pages or different HTML ship alongside the URL change.
- Internal linking. Moving from a thinly linked subdomain into a heavily linked subdirectory adds links, not just a new path.
- Content changes. Pages removed, merged or rewritten during the move affect rankings on their own.
Any one of these can produce a traffic change that later gets credited to the folder structure. His conclusion is that changes introduce risk, and that switching to a subdirectory purely for SEO deserves a second thought.
What should you do if you migrate anyway?
Treat the case as a caution, not a verdict. It has no control group, so it cannot prove subdomains equal subfolders. If you move for other reasons, such as one CMS or one analytics property, follow Google’s site move documentation, which covers subdomain and path changes:
- Map every old URL to its new URL before launch; the redirect map builder exports that list as server rules.
- Use permanent server-side redirects such as 301 or 308. Google states these do not cause a loss in PageRank.
- Update internal links to point at the new URLs rather than relying on redirects.
- Keep the redirects for as long as possible, generally at least one year, so signals can transfer.
- Expect a medium-sized site to take a few weeks or more before Google shows the new URLs in place of the old ones, and larger sites longer.
Then isolate the URL change from content and linking changes, or you will not know what caused the result. For how long full domain moves take to recover, see the domain migration recovery study.
The evidence
- Sample
- One migration (Mention.com) plus GitHub blog
Hypothesis: Moving a blog from a subdomain to a subfolder of the main domain increases organic search traffic, a claim Ahrefs tested against a real migration by looking for a traffic lift attributable to the URL change alone.
Method: Patrick Stox of Ahrefs used the Top Pages report in Ahrefs Site Explorer to look at mention.com's organic traffic around its January 2016 migration from a subdomain to a subdirectory. He checked whether traffic grew after the move or simply relocated, and compared the timing of any growth with when new content was added. He set this against a second observed case, GitHub's blog moving from a subdirectory to a subdomain to a separate domain, and against public statements from Google.
Findings
- After Mention.com's January 2016 migration, traffic simply shifted to a new location, with no real increase attributable to the URL structure change.
- Traffic growth on Mention.com started only after the site began adding additional content, in the author's words the point where he saw growth.
- GitHub's blog moved from github.com/blog to blog.github.com to github.blog, and the author found some flux during the migrations but no basis to call any one URL structure better.
Limitations: This is one practitioner's read of third-party traffic estimates for two sites, not a controlled experiment. There is no control group, so seasonality, content changes and other migration side effects cannot be separated from the URL change. Ahrefs traffic figures are modelled estimates rather than the sites' own analytics, and the article does not publish the underlying numbers. Results from one blog do not generalise to other sites, and the piece is an update of an older post, last updated March 2021.
Sources
- 1.Subdomain vs Subdirectory: Subdirectories Are Not Better Than Subdomains For SEO - Ahrefs, March 9, 2021Primary
- 2.Site moves with URL changes - Google Search CentralPrimary
About the author

Founder, UpgradIQ FZC LLC
Adam Hafez works on technical SEO and search measurement: how pages get crawled, indexed, ranked and now quoted by answer engines. He founded UpgradIQ, which reads Google Search Console and GA4 to tie ranking movement back to the changes that caused it. He publishes what the data supports and states the limits of it.
- Technical SEO
- Search Console and GA4 measurement
- Answer engine optimization
- Structured data
The briefing
Only what actually changed in search, delivered in full by RSS, Atom or JSON feed.
FollowRelated reading
How you chunk a page changes whether AI retrieves it at all
A 36-method academic benchmark found paragraph-based chunking nearly doubles retrieval accuracy over naive fixed-size splitting across six domains.
Sistrix CTR study: how SERP layout changes position-1 clicks
Sistrix analyzed 80 million keywords and found position 1 averages 28.5% CTR, ranging from 13.7% to 46.9% depending on the SERP layout.
SearchPilot test: canonical alone matched a redirect for duplicates
A SearchPilot split test added 301 redirects atop an existing canonical tag for trailing-slash duplicates. The result stayed inconclusive.
What a 10M-page site shows about links and crawl budget
Botify's case study of a US auto marketplace ties internal-link depth to crawl activity: a 19x increase in crawling once linking was fixed.



