Setting a custom subdirectory

Set a custom subdirectory for your docs sites

This feature is available on the Ultimate site plan.

With a custom subdirectory, you can make your docs site accessible at example.com/docs. This is different from a custom domain 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.

Last updated

Was this helpful?