1

I've heard that subdomains are bad for SEO (e.g. this and many others), but I don't see any technical reason that should be so.

I'm curious if there's programmatic a way to tell a search engine (like Google) that it should treat your subdomain as part of your main domain? I'm currently using JSON-LD to mark up our pages for other SEO purposes.

A related question is that I've also heard Google doesn't care whether it's a subdomain or not, which also makes sense. But certainly there are cases where subdomains are pretty much unaffiliated with the main domain (e.g. wordpress.com vs subdomains of that owned by individual users). Is there a programmatic way for wordpress.com to tell a search engine it wants to be distanced from their subdomains for SEO purposes?

1
  • 1
    See my answer to Do subdomains help/hurt SEO? where I have a list of ways to encourage search engines to treat your subdomain as part of your domain. Bottom line is that subdomains are not bad for SEO . I'm not sure why it is so common to hear that advice that you shouldn't use them. Nov 18, 2017 at 20:40

1 Answer 1

3

Public Suffix List

In cases where you are giving out subdomains to users, and you don’t necessarily trust each other (e.g., being a web hoster), you can get your domain added to the Public Suffix List.

This list can be used by various parties. It could help browsers to improve security (e.g., cookie isolation) and usability (e.g., better grouping/sorting in the interface). It could help services to apply better rate limiting (e.g., for generating Let’s Encrypt certificates). Etc.

But the Public Suffix List has no SEO relevance (it might be used by search engines, but there is no reason to do anything with it for SEO).

SEO

Search engines could implicitly determine that documents on different subdomains "belong together": these documents would be linked.

If you have a site under example.com and a corresponding blog under blog.example.com, both should link each other in a navigation section, and so the connection is established.

If you have a blog hosting service under example.com and give out blogs under alice.example.com, john.example.com etc., the sites would typically not link each other (or only on a few pages in the content section), and so there is no strong connection.

There is nothing you have to do for SEO, it just comes naturally by linking where it makes sense, no matter whether the documents are on the same subdomain, different subdomains, or totally different domains.

2
  • I'd think that the public suffix list would be for the opposite case: when you DON'T want you subdomains associated with your main domain. The second part of your answer is great for this question. Nov 19, 2017 at 2:58
  • @StephenOstermiller: Thanks :) Regarding the PSL: Yes, I was targeting OP’s last paragraph (OP asks what sites like wordpress.com, which hosts blogs for users under subdomains, could do).
    – unor
    Nov 19, 2017 at 3:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.