SEO & AEO

Subdirectory

A folder on your main domain, like example.com/blog.

By Nick Irmo · Updated

What Subdirectory means

Content in a subdirectory is clearly part of your main site, shares its navigation and builds on its reputation. It is the usual choice for blogs, guides, service and location pages.

Why it matters for your website

Putting a blog or resource section in a subdirectory keeps everything under one host name, which is simple to manage, track and link to. It also keeps your content clearly tied to your main site in the eyes of visitors.

Example

A hypothetical plumbing company puts its how-to articles at example.com/blog so they sit alongside its service pages and share the same navigation.

Tips

  • Use short, readable folder names that match the section's purpose.
  • Keep your folder structure shallow so important pages are easy to reach.
  • Link between blog posts and related service pages in the same site.

Common mistakes

  • Changing folder names after launch without setting up redirects.
  • Nesting pages so many levels deep that URLs become long and confusing.

Questions about Subdirectory

What is Subdirectory?
A folder on your main domain, like example.com/blog.
Is a subdirectory better than a subdomain for SEO?
Google has said it handles both fine. Many site owners choose subdirectories because they are simpler to manage and keep content under one site in tools like Search Console.
Can I move a blog from a subdomain to a subdirectory?
Yes. Move the content, then set up permanent 301 redirects from each old URL to its new one so visitors and search engines follow.

Learn more

Tell us what the site needs to do.

Share a few details and a budget range. We reply within one business day with a plan, a platform recommendation and a fixed quote.