Subdomain SEO: When to Use a Subdomain and When Not To

Subdomain SEO

A subdomain is a separate section of a website that sits in front of your main domain name, such as blog.example.com or shop.example.com. Subdomain SEO is the question of whether to use one, how search engines treat it and what that means for your visibility. The alternative is a subdirectory, which sits after the domain, such as example.com/blog/.

This guide explains the difference, what Google has said, when each choice makes sense, what to watch if you use subdomains and how to move from one to the other. It does not quote benchmarks, because results vary too much between sites to be useful. Our guide to website design and SEO covers redesigns and site moves.

Quick answer

For most businesses, keep your blog, services and resources in subdirectories on one site, and use a subdomain only when the content is genuinely separate, such as a web app, a store on a different platform or a regional site. Google’s John Mueller said in 2018, as reported by Search Engine Journal, that Google sees the two the same in general, and that he would personally keep things together as much as possible. Choose a setup you can keep for years.

Table of contents
  1. What a subdomain is
  2. Subdomain or subdirectory
  3. What Google says
  4. When a subdomain makes sense
  5. What to watch with subdomains
  6. How to measure them
  7. Moving between the two
  8. A quick decision test
  9. Common mistakes
  10. A worked example
  11. Subdomain SEO FAQ
  12. Where to start

What a subdomain is

A web address has parts. In www.example.com, “example.com” is the main domain and “www” is a subdomain. Any word can be used the same way: blog, shop, help, app. Each one can hold a different website, run on a different server and be managed by a different team.

People use subdomains because they are easy to set up and keep separate. A company can put its online store on a store platform at shop.example.com while its main site stays on another system. That convenience is the reason the SEO question comes up.

Subdomain or subdirectory

SubdomainSubdirectory
Exampleblog.example.comexample.com/blog/
Set upEasy, separate from the main siteEasy, on the same host
UpkeepOften needs its own settings, files and trackingLow, shared with the main site
Separate platform or teamSimpleHarder
Users can tell what it isSometimes unclear whether a prefix means a language or a countryClear, but geotargeting can be unclear
Best forSeparate products, apps and regional sitesBlogs, services, resources and locations

Google’s guidance on multi-regional and multilingual sites lists the same trade offs. For subdomains it notes that they are easy to set up and allow different server locations, and that users may not tell whether a prefix means a language or a country. For subdirectories it lists easy setup and low maintenance on the same host.

No option is right for every site. The better choice is the one that fits how your business is organized, that your team can maintain and that you are willing to keep for years. Changing later is possible, but it is a project with real costs.

What Google says

The most quoted statement comes from an office hours session in May 2018, reported by Search Engine Journal. John Mueller, then a Google Webmaster Trends Analyst, said that in general Google sees the two the same, and that he would personally try to keep things together as much as possible. He suggested using a subdomain where things are really slightly different, and said the choice could go either way.

Three points follow from that.

  • It is an old statement. It is not part of Google’s documentation, so treat it as guidance and not as a rule.
  • It is not a promise of equal results. Many SEOs report that subdirectories often perform better in practice. Others disagree. Test on your own site where you can.
  • The advice is practical. Keep related content together unless there is a real reason to separate it.

When a subdomain makes sense

  • A web app or product. A login area or software product is a different kind of site from your marketing pages.
  • A separate platform. A store, community or help centre hosted by another provider often must sit on a subdomain.
  • A different audience. A site for another country or language, if you choose subdomains for that. Our guide to global SEO compares the options.
  • Development and test sites. Staging copies belong on their own address, and should be kept out of search.

When a subdirectory is better

Choose a subdirectory for content that supports your main business, such as a blog, case studies, guides, service pages and location pages. Keeping them on one site means your links, internal navigation and reporting all work together.

What to watch with subdomains

  • Separate crawl and files. Each subdomain needs its own robots.txt file and its own sitemap. Mueller said Google has to learn how to crawl subdomains separately, though for the most part that is a formality for the first few days.
  • Split authority and links. If your best content sits on a subdomain, links to it may not help your main site as directly. This is the main reason many SEOs prefer subdirectories.
  • Tracking gaps. Analytics and Search Console need to be set up for each, or combined on purpose.
  • Weak internal links. Pages on a subdomain are easy to leave out of the main navigation, so they can become hard to find.
  • Forgotten subdomains. Old test sites, campaign pages and abandoned tools can remain online and appear in search. List yours and remove or block the ones you do not need.
  • Duplicate content. A subdomain that copies the main site can create duplicate pages. Our guide to canonicalization explains how to handle them.

How to measure them

Google’s help on Search Console property types says a domain property includes all subdomains and several protocols, while a URL-prefix property covers only URLs that begin with the exact prefix and excludes other subdomains. Use a domain property to see the whole picture, and add URL-prefix properties when you want a report for one subdomain.

Look at the trend over months. Check impressions, clicks and the pages that bring enquiries on each subdomain, and compare them with the main site. Our guide to SEO analytics explains how to set that up.

Moving between the two

If your blog or resources sit on a subdomain and you want them in a subdirectory, plan it as a site move. Google’s guidance on moving a site with URL changes gives the main steps.

  1. Plan the move. Change only one thing at a time, and choose a quieter time of year.
  2. Map every old URL to a new one. Include images and files, and fix internal links and canonical tags on the new site.
  3. Use permanent redirects. Redirect each old URL straight to its final address, with no chains, and not all to the homepage.
  4. Update sitemaps and Search Console. Submit the new sitemap, and use the Change of Address tool where it applies.
  5. Keep the redirects. Google advises keeping them for at least a year.
  6. Monitor. Check traffic, indexing and errors in the weeks that follow.

Google says rankings and visibility may fluctuate during a move, and that this is normal. Do not promise yourself an uplift. Move only if there is a clear business reason.

A quick decision test

Ask these questions in order. The first answer of “no” usually points to a subdirectory.

  1. Is the content a separate product or app? If it is, a subdomain is reasonable.
  2. Must it run on a different platform? If the platform forces a subdomain, use one and link it well.
  3. Does it serve a different audience? Different languages or countries may justify it. Compare the options first.
  4. Does it support your main pages? Blogs, guides and case studies usually do, so keep them on the main site.
  5. Can you keep the setup for years? Moving later costs time, so decide once.

Common mistakes

  • Putting the blog on a subdomain by default. Many platforms do this for convenience, and it separates your best content from your service pages.
  • Several subdomains for one topic. Splitting a small site into many subdomains spreads your effort thinly.
  • Forgetting the sitemap and robots.txt. Each subdomain needs its own.
  • Leaving test sites public. Staging copies can be indexed and confuse your results.
  • Moving without redirects. A move without a plan loses the visibility the old pages had earned.

A worked example

This is a made up example, used to show the method. It is not a client result, and the numbers are not real.

Imagine a software company with a marketing site on www.example.com, a blog on blog.example.com and the product at app.example.com.

PartCurrent addressDecisionWhy
Marketing pageswww.example.comKeepThis is the main site
Blogblog.example.comMove to example.com/blog/ when there is capacityIt supports the marketing pages and should sit with them
Productapp.example.comKeep as a subdomainIt is a separate product with a login
Old test sitetest.example.comRemove or blockIt should not appear in search

The company does not rush the blog move. It maps the URLs first, tests the redirects and moves in a quiet month.

Subdomain SEO FAQ

Is SEO dead or evolving in 2026?

It is evolving. People still search, and Google says the best practices for SEO remain relevant for its AI features. Structure choices such as subdomains still affect how easy your site is to crawl and measure.

What is the 80/20 rule in SEO?

It is a rule of thumb, not a Google rule. It says a small share of your effort or pages often produces most of the results. For subdomains, it is a reminder to focus on the few sections that bring enquiries.

What are examples of subdomains?

blog.example.com, shop.example.com, help.example.com and app.example.com. Even www is a subdomain of example.com.

Which domain is best for SEO?

There is no single best domain. A clear, memorable name on one main domain works for most businesses. Google lists country code domains such as example.de as giving clear geotargeting, but they can be expensive and target only one country. Whatever you choose, pick one main domain and use it consistently across your marketing.

Does a subdomain pass link value to the main domain?

Google has said it sees subdomains and subdirectories the same in general, but many SEOs find that keeping content on the main site makes links easier to use. There is no guarantee either way.

Should I use a subdomain for my blog?

Usually not, unless your platform forces it. A blog on the main site shares navigation, links and reporting with your service pages, which makes it easier to build and measure.

Where to start

List every subdomain your business uses, say what each one is for and check whether it is in the sitemap and in Search Console. If anything on a subdomain supports your main site, such as a blog, consider whether it belongs in a subdirectory. That is a solid first month.

If you want a second opinion, Torplix offers a free audit of your site structure, with a written list of fixes in priority order. It is yours to keep whether or not you work with us, and we do not promise rankings. See our technical SEO service and our guide to SEO for how we work.

Book a free call

Scroll to Top