Configuring Extensionless URLs

Last modified: June 28th, 2023

Working with a specific static site generator?
Customize CloudCannon's documentation to suit your SSG.

Great! We'll show you documentation relevant to .
You can change this any time using the dropdown in the navigation bar.

Extensionless URLs do not end with a trailing slash or a file extension. They map to the file in the same path with an html, htm or xml extension. For example, these URLs would serve the same file:

To serve files on extensionless URLs:

  1. Go to Site Settings / Routing
  2. Enable Serve Extensionless URLs and optionally Force Extensionless URLs
  3. Click Update Hosting Details

Serve Extensionless URLs is on by default for new sites.

Enabling Force Extensionless URLs redirects URLs with html, htm or xml extensions to extensionless versions. This ensures a single URL rather than serving the same file on two different URLs.

Open in a new tab