I’ve researched this a fair bit. Supposedly, using a subdomain for a part of a site (sub.domain.tld) harms it’s SEO in comparison to simply using a subdirectory of a site (domain.tld/sub).
Does anyone have any input on this? I guess that subdirectories appear to be better off as they’re perceived as part of the same site, whereas a subdomain is perceived to be an entirely different site?
A subdomain is mostly considered as another website, you can even have an entire different server/IP for it.
The owner of a2hosting is quite a nerd when it comes to SEO, and looking at his practices, you can see that he has most things that have content on the root domain, even the blog under ‘/blog’ and knowledgebase under ‘/kb’ and not in another subdomain.
I’ve found that having your documentation on a sub-domain, just like most companies do, is quite efficient for SEO; it definitely provides ‘juice’, but it’s hard to say how much compared to a directory.
It’s also more aesthetically pleasing for your users and visitors to have it like this.
If you’re building up a single domain, you generally want to keep as much content on that single domain as possible. The more you split it across subdomains the harder it is to build up one (sub)domain’s authority. Same goes for www/non-www and http/https - pick one and stick to it for the main site and correctly 301 the others, try not to change it going forward if at all possible.
Absolutely. All of my sites redirect to HTTPS anyway I was originally going to split the majority of the site’s segments into subdomains, but decided that it would end up being such a pointless endeavour. I like keeping control panels on subdomains though.
Subdomains gives an additional “layer” of security, specially if using another server in that subdomain or something like CageFS. Is important that you don’t mix client billing area/space with blogs or other systems.
Let say you have this wordpress blog running in your root but in a subdirectory (/blog). Then you have your client area (WHMCS) on /clientarea , if that wordpress gets compromised your clientarea might as well be fucked up too.
Is probably obvious but just saying, don’t do stupid shit for SEO.