> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

## Storefront GraphQL settings.url.vanityUrl now keeps the `www.` in the primary domain

We are beginning to roll out a fix for `site.settings.url.vanityUrl` in the Storefront GraphQL API. You may notice this take effect over the coming weeks.

* **Keeps the `www.`:** for a channel whose primary domain starts with `www.`, `vanityUrl` no longer drops the `www.` and matches the primary domain as it is stored.
* **Only the `www.` changes:** the scheme and any locale subfolder in the URL stay the same.
* **No schema changes:** the field name and type are unchanged.

For schema details, see the [vanityUrl field on the site query](/developer/api-reference/graphql/storefront/queries/site#fields.body.settings.url.vanityUrl).