Skip to content
Free website migration on every plan, done by our team.Learn more ›
Business

Subdomain vs subdirectory: which is better for SEO?

blog.yoursite.com or yoursite.com/blog? How subdomains and subdirectories differ for SEO, setup and maintenance, and which to choose for blogs, shops and apps.

Short answer: For content that supports your main site, such as a blog, help centre or shop, a subdirectory (yoursite.com/blog) is usually the simpler choice: one site to manage, one set of analytics, and content that clearly builds the main domain. Use a subdomain (app.yoursite.com) for separate systems such as a client portal or web app.

The difference

  • Subdirectory: yoursite.com/blog lives inside your main website.
  • Subdomain: blog.yoursite.com is technically a separate site that search engines may treat more independently.

What search engines say

Google has said it can handle both well. In practice, keeping related content in one site is easier to manage and makes internal linking and authority straightforward.

When to use a subdirectory

  • Blogs, guides and articles that support your products
  • Help and FAQ pages
  • Language versions of the same site, such as yoursite.com/fr/

When to use a subdomain

  • A separate application: app., portal., or a WHMCS client area like app.yoursite.com
  • A different platform you can't install in a folder
  • Staging and test sites, protected from search engines. See staging sites.

Moving from one to the other

Redirect every old URL to its new location with 301 redirects and update internal links. See 301 vs 302 redirects.

Frequently asked questions

Do subdomains need their own SSL certificate?

They need to be covered by one. On cPanel hosting, AutoSSL covers subdomains you create.

Does a subdomain cost extra?

No. Subdomains are free to create on your own domain, within your plan's limits.

Which does AuroxHost use?

Our Journal lives at auroxhost.com/blog/, and the client portal is on a subdomain because it's a separate application.

Ready when you are

Host it where it performs

NVMe speed, offshore privacy and a written SLA — live in minutes on AuroxHost.