But a subdomain is outside the main domain, in a partition of it. In this example, it has been used to host a blog.
A subdomain will always be placed before the root domain when you look at the URL, while a subdirectory should always go after.
If you're not sure how many subdomains your site is using, or if you're not using any at all, you can use the Semrush Site Audit tool to visualize your site structure, including any subdomains:
site crawl
Just make sure when you configure the tool that you have "include all subdomains" in the crawl setting.
include subdomains
But why is there such a big debate in the SEO community between subdomains and subdirectories? And is one when it comes to search engine ranking?
Monitor and troubleshoot technical issues
with Semrush Site Audit
Try it for free →
ADS illustration
Giving context to the debate
Let's be clear about one thing: the structure of your website has a significant thailand mobile database impact on your organic search performance.
Choosing between a subdomain or subdirectory for certain areas of your site can help or hinder your ability to grow. But similarly, there are cases where it makes sense to host part of your site on a subdomain.
This is more of a “it depends” scenario. It’s important to understand the use of different scenarios and how they impact organic performance.
So where does the confusion come from?
This debate is sparked by the fact that Google treats subdomains as separate entities from your main domain, largely because some websites put different content on subdomains that really shouldn't be associated with the main site. Or, in some cases, those subdomains of the main domain are controlled by different people.