> 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 Service Slugs ## Article: About Service Slugs ## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-service-slugs.md ## Article Content: # About Service Slugs In the context of Wix Bookings, a slug is a user-friendly and unique identifier assigned to each service. It is designed to be easily readable and consists only of lowercase letters, digits, and hyphens. ## Default slugs When a service is created, Wix Bookings automatically calculates its `mainSlug` based on the service name. Any non-alphanumeric character from the service name is replaced with a hyphen, then consecutive hyphens are removed. If the resulting slug would be empty or a single hyphen, it's set to `untitled` instead. ### Sample default slugs The following table shows some sample default slugs. | Service name | Default slug | |---|---| | `My Service! Name 2023` | `my-service-name-2023` | | `@@@` | `untitled` | | `A simple_test` | `a-simple-test` | ### Service name changes When a service's name changes, Wix Bookings automatically updates `mainSlug`, unless the service has a custom slug. All past slugs and the current slug are stored in `service.supportedSlugs`. ## Custom slugs You can customize a service's slug, for example for SEO purposes. Like default slugs, custom slugs may include only lowercase letters, digits, and hyphens. ### Set a custom slug You can call [Set Custom Slug](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-custom-slug.md) to customize a service's slug. Once you've set a custom slug, Wix Bookings doesn't automatically update `mainSlug` whenever the service name changes. Instead, it adds a default slug based on the new service name to the `service.supportedSlugs` array. ### Validate a custom slug You can check if a custom slug contains only supported characters, and isn't associated with a different service by calling [Validate Slug](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/validate-slug.md).