CMS: Creating Unique Dynamic Page URLs
4 min read
Ensure each item from your collection gets a unique web address by adding variables to the URL slug structure. The variables you add to your URLs get replaced by the actual field values from your collection items. Creating unique URLs also helps search engines and visitors understand what each page's content is about.

In this article, learn more about:
Why should I add variables to dynamic page URLs?
You may need to add fields to dynamic page URLs to create unique URLs for each item in your collection. If multiple items in your collection have the same value in their primary field (e.g. "Title" or "Name"), and you do not add a variable to the dynamic URL, only 1 URL is generated. This is because the primary field is used in the URL by default. Since only 1 URL is created for both items, only 1 item will have a dynamic page, the other will not.
To solve this issue, add variable fields to the URL so each item gets its own dynamic page with a unique URL.
Example:
If your dynamic item page URL ends with /team/{Title}, and 2 items in the collection have "Sara" in the primary Title field, only 1 URL is generated for /team/sara. So only 1 dynamic page is created for 1 of the 2 items in the collection.
To solve this, you could add a field to the URL that is unique to each item. For example, add a "Phone" field if each item has a different value in a "Phone" field. The URL would then be /team/sara/{Phone} so each item gets its own unique dynamic page URL.
Adding variables to dynamic page URL slug structures
Go to the SEO tab of your dynamic page settings in your Editor to check your URL slug structure. You can then manually edit the structure and add variable fields that change based on the each collection item's actual field value.
Important:
If you change the URL structure of your dynamic pages, all the existing links to these pages will no longer work. This affects links within your site, any links you've shared externally, and SEO links in search engines.
Wix Editor
Editor X
- Click Pages
at the top of Editor X.
- Hover over the relevant dynamic page and click the More Actions icon
on the right.
- Click SEO.
- Click the URL slug structure field.
- (Optional) Enter text or number values to modify the URL slug structure.
- Click Add Variable and select the field from your collection that you want to use in the URL.

FAQs
Click a question below to learn more about creating unique dynamic page URLs.
What are dynamic URLs?
Where do I see the dynamic page URLs in my collections?
Can I add variables to SEO meta tags?
Did this help?
|