Links and routing
How storefront URLs are built, and the settings that control them.
Two settings under Settings, General control every storefront link: the frontend domain and the route prefixes.
URL structure
Every storefront URL is:
https://{domain}/{route}/{slug}
| Part | Source |
|---|---|
| domain | Frontend domain setting. |
| route | The route prefix for that resource type. |
| slug | The item's Slug field. |
A product with slug summer-dress, default product route, on shop.example.com resolves to https://shop.example.com/products/summer-dress.
Frontend domain
Settings, General, Store details, Frontend domain.
- Format:
yourstore.com. Leadinghttps://and trailing slashes are stripped. - Optional. Used for canonical URLs, the admin View on storefront links, and SDK-generated links.
- When blank, the View on storefront button does not appear. See Add a product.
This is a stored value only. Aeolian does not register or verify the domain. Point your domain at your storefront separately.
Route prefixes
Settings, General, Frontend routing.
| Resource | Default |
|---|---|
| Products | /products |
| Collections | /collections |
| Pages | /pages |
Rules:
- Must start with
/. - No trailing slash (removed automatically).
- Cannot be empty.
- Must be unique. Two resources cannot share a prefix.
- Maximum 100 characters.
Changing a prefix changes every link to that resource type at once.
Slugs
The slug is the per-item identifier in the URL. For products it is the Slug field in the Search engine listing section: lowercase letters, numbers, and hyphens, auto-generated from the title and editable. See Product details.