> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt ## Resource: About the URL Structure of Site Pages ## Article: About the URL Structure of Site Pages ## Article Link: https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-frontend/urls/about-the-url-structure-of-site-pages.md ## Article Content: # About the URL Structure of Site Pages Understanding the URL structure of Wix site pages is crucial for tasks such as routing, linking, SEO, and query parameter manipulation. ## Sample URLs The structure of the URLs differ between Wix premium sites and Wix free sites: - **Premium sites**: Use a custom domain, such as `domain.com`: `https://domain.com/animals/mammals/elephant?species=african-elephant`. - **Free sites**: Reflect the Wix editor as the domain followed by the site name, such as `user.wixstudio.io/zoo` for Wix Studio sites and `user.wixsite.com/zoo` for Wix Editor sites. - **Wix Studio**: `https://user.wixstudio.io/zoo/animals/mammals/elephant?species=african-elephant` - **Wix Editor**: `https://user.wixsite.com/zoo/animals/mammals/elephant?species=african-elephant` You can get the full site URL, as well as its parts, using the [Location API](https://dev.wix.com/docs/sdk/frontend-modules/location/introduction.md). ## Key parts of a URL | Term | Description | Example | | ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | | **Protocol** | Standard part of the URL that indicates the protocol used to access the resource. | `https://` | | **Base URL** | Represents the root domain of your site. Premium sites use a custom domain, while free Wix sites include the editor followed by the site name. | Premium: `domain.com`
Free (Wix Studio): `user.wixstudio.io`
Free (Wix Editor): `user.wixsite.com` | | **Prefix** | Component used for dynamic paths and router pages. Prefixes are useful for making Dynamic Page URLs, or for determining which incoming requests the [router](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/routers/about-routers.md) handles. | `/animals` | | **Path** | The path typically follows the base URL or the prefix, if a prefix exists. For dynamic pages and router cases, paths are used for structure or to encode information to indicate what dynamic content to show. | `/mammals/elephant` | | **Query** | Query parameters are key-value pairs appended to the URL to pass additional data. | `?species=african-elephant` | ## See also - [Location API](https://dev.wix.com/docs/sdk/frontend-modules/location/introduction.md) - [Routers](https://dev.wix.com/docs/develop-websites-sdk/code-your-site/build-a-custom-backend/routers/about-routers.md)