Forum

Thread tagged as: Problem

previews for list/detail pages

I have a site where I have list / detail pages which are different pages - topics.php is the list page (and actually is never seen) and analysis.php?s=[slug] is the detail page.

I have the detail page set to show up in search results, and that works fine.

However, when editors add pages the 'preview page' function doesn't currently work. It gets a 404 error, with page content listed in an unformatted way.

I daresay this wouldn't be happening if I'd used a single list/detail page, but I understood it was ok to split these (and I had some reasons for doing so). Other than telling me I made the wrong choice, is there anything I can do to get the preview function to work correctly with what I have?

Thanks - Mallen

Mallen Baker

Mallen Baker 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

What URL have you set for a single item in the region options?

analysis.php?s={slug}

Drew McLellan

Drew McLellan 2638 points
Perch Support

Try starting with a forward slash:

/analysis.php?s={slug}

That did it - thanks.