Setting a custom subdirectory
Set a custom subdirectory for your docs sites
Last updated
Was this helpful?
Set a custom subdirectory for your docs sites
Last updated
Was this helpful?
With a custom subdirectory, you can make your docs site accessible at example.com/docs
. This is different from a which lets you make your docs site accessible at docs.example.com
.
One reason to do this is so that your docs URL is formatted in a consistent way with your other site URLs. Using a subdirectory may also be beneficial for SEO.
To configure a subdirectory, you'll need to set things up in your website's backend, then finalize the process in your GitBook site settings.