Support Query Parameters in Relative Internal Links (Dynamic Filters)
D
Danny Kouba
Currently, when linking internally in Framer using a relative path (e.g. /blog?category=cms) within Dynamic Filters, the query parameters are ignored and only the base path (/blog) is applied.
Query parameters only work when using the full absolute URL (e.g. https://domain.com/blog?category=cms). This creates issues in staging environments or when changing domains, as absolute URLs break across different environments.
It would be helpful if relative internal links preserved query parameters properly, so dynamic filters can work consistently across staging and production without requiring full absolute URLs.
Log In
M
Mo | Mogy Studio
True, I want to add my own experience as well.
I've been experimenting with the new dynamic filter/page variables feature and ran into a couple of issues I wanted to flag.
I have a footer with two links, one for Case Studies and one for Templates, that are supposed to filter content on my studio page using query parameters (e.g. /studio?category=case-studies).
Issue 1: Relative URLs don't apply the filter
When I use a relative URL like /studio?category=case-studies, the filter doesn't apply correctly. It only works when I use the full absolute URL (e.g. https://mogy.studio/studio?category=case-studies).
Issue 2: Full URL breaks page transitions
The workaround of using the full URL isn't ideal because it causes a full page reload, which completely breaks Framer's page transitions. The smooth transition experience is lost entirely.
issue 3: Active/Current state doesn't respect query parameters
The current link state only seems to match on the pathname (/studio) and has no awareness of query parameters. So both footer links appear uncolored regardless of which filter is active, since Framer treats them as the same page.
Ideally the filter should work with relative URLs so page transitions are preserved, and the current state should be able to match on query params or be bindable to a page variable condition.