Comment on page
Optimize your GitBook documentation to be discoverable via search engines.
Thanks to the following features, your GitBook projects are SEO-friendly with little or no configuration on your end:
- URLs are set based on each page’s title by default, but can be customized as you wish.
- We avoid duplicate content through smart, canonical URLs.
- The HTML title and Open Graph title are based on the page and space title.
- The meta description and Open Graph description are based on the page description.
- Alt text can be added to images, which is also very important for accessibility.
Provided that your space is published with a setting other than unlisted, we automatically generate a sitemap.xml file based on your table of contents. You can locate this by going to the first page of your documentation and then appending
/sitemap.xmlto the URL. For example, the first page of our documentation is located at docs.gitbook.com, and so our sitemap.xml file is located at docs.gitbook.com/sitemap.xml.
Even with these great features, it could still take some time before your documentation is indexed by Google (and other search engines). Both we and you have no direct control over this, but there are two things that you could do to help improve the chance of getting your content indexed more quickly:
- 1.Make sure that there are links to your GitBook space from other websites that have already been indexed by Google. As Google will return to re-index these sites from time to time, this increases the chance that they’ll find your space as a result of re-indexing one of these other sites.
Last modified 2d ago