Example
- Subdomain
docs.example.com- Subdirectory
example.com/docs/
Compare subdomains and subdirectories for SEO, ownership, deployment, analytics, and migrations. Google reports no ranking preference.
A subdomain puts content before the main domain, like help.example.com; a subdirectory puts it in the path, like example.com/help/. Google says it has no preference for indexing or ranking between them. Choose based on how your team needs to organize, build, and maintain the site, then keep URLs and internal links consistent.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
help.example.com. A subdirectory is a path on the same hostname: example.com/help/. The visible URL is different, but Google says neither format has an indexing or ranking advantage by itself.docs.example.comexample.com/docs/Google's SEO Starter Guide says it might be easier to manage a site segmented by subdirectories, but other times it might make sense to partition topics into subdomains, depending on your site's topic or industry. Google's crawling and indexing FAQ says to choose whatever is easiest for you to organize and manage, and that from an indexing and ranking perspective Google doesn't have a preference. That is an operations decision, not a ranking trick.
If the problem is simply that your URLs are hard to understand or crawl, improve the URL structure before splitting the site across hosts.
Decide who owns publishing, deployment, DNS, redirects, security, and incident response for this section.
List old and new URLs, including trailing slashes, language paths, and page templates. Keep equivalent pages one-to-one.
Update internal links, canonicals, sitemap entries, analytics referrals, and Search Console properties to match the final host and paths.
Check redirect chains, robots access, page responses, analytics attribution, and Search Console indexing after launch. Compare trends by page and query over time.
3 questions people ask next, answered from the sources on this page.
Google's crawling and indexing FAQ says that from an indexing and ranking perspective Google doesn't have a preference between subfolders and subdomains. Do not infer a ranking boost from either setup.
Google says it has no preference from an indexing and ranking perspective. A subdirectory may be simpler if the same team and application own the content, but choose the setup that is easiest to organize and maintain.
A Domain property in Search Console includes subdomains and protocols after domain verification. URL-prefix properties can be scoped to a particular prefix. Verify the properties you need to inspect and keep reporting scope in mind.
The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.