Question:
How can I generate and share unique URLs for filtered views of a CMS collection on my Wix site, so users can land directly on pre-filtered project pages from other parts of the website?
Product:
Wix Editor (with CMS and Dataset features)
What are you trying to achieve:
I have a CMS that lists all the projects my company has completed. On the main CMS page, I’ve added input buttons that allow users to filter the project list by category (e.g., Residential, Commercial, Ongoing). However, I also want to place buttons on other pages of the site (e.g., the homepage or service-specific pages) that link directly to a filtered version of the CMS — for example, a version that only shows Commercial projects.
Right now, the filtering works perfectly on the CMS page itself, but since the URL doesn’t change when filters are applied, I can’t create or share unique links that open the page with a specific filter already applied.
I want to create custom links or buttons across the site (or even shareable links externally) that open the CMS page with the relevant filter already applied. This is important for user experience and client access.
What have you already tried:
- Using input buttons connected to datasets with filters — works locally but doesn’t reflect in the URL.
- Tried creating multiple versions of the page, each with a different dataset filter — not scalable.
- Looked through Wix documentation on dataset filters and dynamic pages but couldn’t find a solution for URL-based filtering.
- Explored Wix Forums and found some partial suggestions involving query parameters, but no end-to-end method.
Additional information:
- I’m using Wix Studio
- I’m comfortable using Velo (Wix Code) if that’s needed for a workaround.
- Ideally, I’d like to use query strings (e.g.,
?type=commercial
) that are read on page load to apply the correct filter to the CMS dataset dynamically. - If there’s a way to use Velo to read the query string and apply a dataset filter accordingly, I’d appreciate guidance or example code.