Forum

Thread tagged as: Question

Pagination File Extension

I found the Docs page on 'Tag Attribute Rewrite'

https://docs.grabaperch.com/docs/templates/attributes/rewrite/

However, I'm wondering if there is a "simpler" way to exclude the file extension in the <perch:content id="prev_url" /> , <perch:pages id="url" /> , & <perch:content id="next_url" />.

So that /gallery.php?page=2 becomes /gallery?page=2 ?

Nicholas Nelson

Nicholas Nelson 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the hide-extensions option help here?

Great! Looks like it works. Thanks Drew!