SEO and GEO

Subdomains and subfolders

Subdomains and subfolders are two ways to divide and structure your website within the same domain. A subdomain is a standalone extension of the main domain. It comes before the main domain and is separated by a dot, for example blog.domain.com. A subfolder is a subsection. It comes after the domain name and is separated by a slash, for example domain.com/blog/. Both organise your content and give your website clear sections.
→ All articles

What are subdomains and subfolders?

Subdomains and subfolders are two ways to structure a website when you want to create a clear overview of your content. A subdomain is an independent section. It sits in front of the main domain, and a dot separates the two. You typically use it for a separate function, such as a blog, a webshop or a support hub. In principle, a subdomain can work as a standalone website. You can host it separately and give it its own technical settings.

A subfolder is part of the main domain's structure. It sits after the domain name, and a slash separates them. In practice, it's simply a folder in the domain's file structure. It inherits the domain's authority, technical setup and Analytics data. You'll most often choose a subfolder when the content is closely tied to the main site, for example domain.com/knowledge/ or domain.com/blog/.

In short: subdomains create separate sections, and subfolders keep content together under the same main domain. Your choice affects the technical structure, your SEO and the way users navigate.

How do you use subdomains and subfolders?

Use subdomains when you want to isolate parts of your website technically or organisationally. That might be a webshop with its own backend or a redesign that you want to test without changing the whole main site. Subdomains can sit on separate servers. That's why you can give different teams responsibility for each section, e.g. marketing on the main site and development on a technical subdomain.

Subfolders give you the opposite: one unified structure. They work best when your whole website needs to come across as a single whole to both users and search engines. In a CMS such as WordPress, you typically create subfolders automatically when you make new pages or categories. So you can quickly build a deep information architecture without touching the server settings.

In practice, both SEO and user experience play a part in your choice. Subdomains often require separate tracking and optimisation in Google Analytics and Search Console. Subfolders automatically share the same account. If you're working on an SEO strategy with an agency, consider how the split affects the distribution of authority and your link structure.

Why use subdomains and subfolders?

The structure of your website gives you an overview, and it also affects your visibility in search engines and your technical performance. For SEO, subfolders are often the best choice. Search engines see them as part of the main domain and give them the same authority. New pages can therefore rank faster, because the main domain has already built up trust and links.

Subdomains have their advantages too. They give you flexibility, so you can test new designs, features or campaigns without risking harm to the main site. In a broad digital strategy, you can for example use subdomains to target different geographical markets with local language versions. The setup is easier than launching entirely new domains, and you get better control of traffic and communication.

Whatever you choose, a deliberate structure gives you a better foundation for both SEO and paid advertising. If you work with Google Ads, for example, you can use subfolders to split landing pages by campaign type. That way, you measure performance more precisely. At the same time, a clear hierarchical structure helps social media and external links point to the right places on the site.

What types and variants are there?

Think of subdomains as separate units, each with its own address. Typical examples are:

blog.domain.com
shop.domain.com
support.domain.com

Each of them can run independently and still belong to your brand. “www” is actually also a classic subdomain. Most people, however, no longer see it as a separate area.

You often use subfolders for categories, campaigns or information structures. It can look like this:

domain.com/blog/
domain.com/products/
domain.com/about-us/

You can create them manually or through your CMS. The big difference is that subfolders always keep their connection to the main domain, both technically and for SEO.

How do you use subdomains and subfolders in practice?

Choose the solution that best fits your overall strategy. If you're planning a global site in several languages, subdomains such as en.domain.com and fr.domain.com can make sense. You can host them close to local users and adapt the technical setup to each market. If you want to concentrate all your authority in one website, you should instead choose language structures with subfolders, for example domain.com/de/ and domain.com/fr/.

You create a subdomain in your web host's DNS settings or control panel. This is where you decide which server or folder the subdomain points to. A subfolder simply requires a new folder on the server or a new subpage in your CMS. Most hosting providers give you tools that make both free and relatively simple.

If you want to measure the effect, you can connect each section to Google Analytics or a similar tool. Be aware that subdomains don't automatically share data. So set up your tracking and internal links carefully, especially if you work with SEO and performance marketing across websites. That way, you see the whole customer journey without gaps in the data.

What should you be aware of?

Be clear about your technical resources and your purpose before you choose subdomains or subfolders. Subdomains often require more setup. Each area needs its own configuration, its own SSL certificate and its own tracking. That gives you flexibility and, at the same time, more things that can go wrong. Subfolders are simpler. In return, you need to think through navigation and structure from the start, so the pages don't get lost in too many layers.

Also consider what your choice of structure means for your link building strategy. Links to a subdomain don't automatically give the main domain a boost. Links to subfolders strengthen the site as a whole. If you work with content marketing, it can therefore be an advantage to place your blog and knowledge content in subfolders rather than on separate subdomains.

Finally, think about the future. Does your site need to be scalable, easy to expand and SEO-friendly? Then a well-organised folder structure typically delivers the most in the long run. If you often run separate campaigns, landing pages or microsites with unique designs and tracking, subdomains may be the most flexible solution.

Ready to grow? Let’s talk

→ Book a chat