To resolve the 404 errors with your Collection page links, you can use Webflow’s native linking functionality. Here’s how to properly link your Collection pages:
Add a link element to your Collection list
Click the gear icon () to open the Element Settings Panel
Look for the Collection page link option (marked in purple)
Select “Current Item” from the dropdown menu
This will ensure each item in your Collection list links to its corresponding detail page. You can learn more about structuring and styling Collection pages in our University guide.
Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.
Just to clarify, if someone still wants to use a custom script for transition effects, is there a recommended way to preserve the correct link behavior for Collection items? I’ve seen a few people run into 404s when mixing custom JS with dynamic links, so just wondering if there’s a best practice to avoid that while keeping the animation.
There is nothing special about collection page links, and they are rendered directly into the HTML- no special JS routing or anything involved.
I’d need a specific example of what you’re doing, but in general it’s pretty simple; get the link, trap the click, perform your animation and then navigate.
I generally target the links in one of three ways;
If it’s a single link, just ID it and attach your script that way
If it’s multiple links, a custom attribute is an easy way to identify them
If it’s all links on the page, you can just target all links however that gets more complex as you probably need to filter out links to other sites, mailto: and tel: links, and target=_blank links