Optimizing documentation for search
Here’s an obvious statement. Well-optimized documentation for search is important. And, I’ll try to cover everything I think will make your documentation rank better and be helpful to developers right where they search for the answers. I am not too much into the weeds of different docs generators and some of them may be limited in how to handle all of these or they may be handling some of these natively, but the guide itself tries to provide a platform agnostic overview, kinda looking from the outside. That’s also how search engines look at your pages. Subdomain vs. subfolder I’ll always prefer a subfolder ( /docs ) over a subdomain ( docs. ) approach, mainly because in practice I’ve seen quite a few examples where traffic went up for both main domain and subdomain pages after the merge. On top of that, it’s a live and forever debate in the SEO community which revolves around “it doesn’t matter” or “subdomain is worse” . Given that keeping everything in the subfolder doesn’t hurt in an
Continue reading on Dev.to
Opens in a new tab

