If you're building a website today, and your business needs to create addresses for different online directories, it can be hard to figure out the best way to go about it.
There’s a lot of debate about this topic on the internet, so the question to ask yourself is: “Should I use subdirectories or subdomains?”
Figure: Difference between subdirectories and subdomains
The general consensus is that if you are starting from scratch, it’s better to use subdirectories as they’re easier to maintain and less time-consuming in the long-term.
However, if you already have a domain and a lot of legacy structures in place, using subdirectories could be a big change and might not be worth it. You would need to update your properties in Google Analytics, your Google Search Console settings, a lot of redirects, and much more.
Keep in mind, Google is now smart enough to work this out for you – it's just an extra step for Google’s bots. Watch the official video from Google Webmasters below on YouTube to find out more about this:
Say you want to launch a new blog on your website... learn the pros and cons of sub-directories vs sub-domains and how they affect your Search engine optimization (SEO).
Here's a quick snap shot of the pros and cons:
E.g. ssw.com.au/blog
E.g. blog.ssw.com.au
In short, you may use the set-up that works for you and think about the long term plan. For SEO purposes, sub-folders are the recommended way to go.