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?