CMS: Troubleshooting Dynamic Pages Issues

7 min read
Dynamic pages in the Content Management System (CMS) allow you to display multiple items without having to redesign your page for each one. By creating unique pages based on a single design, you save time and ensure consistency across your site. 

However, like any tool, you might encounter some issues while using dynamic pages. This article helps you identify and resolve common problems, enabling you to fully leverage the efficiency and consistency that dynamic pages bring to your site management.
Tip:
You can troubleshoot many dynamic page issues from the new View Connections page in your collection. This feature is not yet available in all Wix accounts.  
  1. Go to CMS in your site's dashboard. 
  2. Click the relevant collection.
  3. Click More Actions at the top right and select View Connections.
  4. Review the dynamic page URLs, the fields used as URL slugs, and more.
Screenshot of troubleshooting connection issues.

Live site isn't working properly

If your page and content is displayed properly in Preview mode but not on your live site, make sure:

Misconfigured links on your dynamic list page can cause the wrong dynamic item page URL to load. Make sure your dynamic list page links connect to the dynamic page dataset, and the relevant item page. Also make sure each item has a unique URL. 

Several factors can cause the items on your dynamic list page to link to the same dynamic item page version. Click below to learn how to resolve. 


Dynamic page dataset incorrectly shows "100 pages generated"

If you notice your dynamic page dataset incorrectly shows only "100 pages generated", when you have more than 100 pages generated, you can disregard this issue. The "100 pages generated" message may appear, even if you have more than 100 versions of the dynamic page. 

We're working on fixing this issue with the incorrect number of items displayed in the dynamic dataset. 

If a link or button doesn't lead anywhere or leads to the wrong place, it's typically because the element is linked to a static destination but also connected to the CMS. Elements cannot have both a static link from the Link icon  and a dynamic link from within a CMS dataset. 

Empty dynamic item page

If your item page is empty in your editor, it could be because your live collection has items, but the sandbox collection is empty. The editor shows content according to the sandbox collection.

Non-functional navigational buttons

If a button doesn't work or is greyed out when set to the next/previous item, it's usually due to the type of dataset or the action being used.

403 forbidden error message

A 403 error occurs when a visitor does not have the relevant permissions to access a collection that appears on the page. Edit the permissions to allow the visitor to access the page.

404 or 500 error page

If your dynamic page redirects to a 404/500 error page, it usually means that a slug change was made. Check that all connected elements are still connected to that page, and if it’s an already published/indexed URL, check if a redirect was created.


Large space / gap at the bottom of the page

If your dynamic item page has a large space or gap at the bottom, it's usually because item pages are different lengths, and the layout was not edited in the shortest item page. To prevent this, design according to the shortest item, in its respective item page, and use strips instead of placing elements "freely" inside the sections.

Did this help?

|