2014-04-11, 06:53:59
Amazing News!
Well maybe we should test it
to find some bug in that RewriteRule
Well maybe we should test it
to find some bug in that RewriteRule
(2014-04-11, 06:13:49)Carlos Wrote: I've added a custom setting to enable prev/next pagination on tag pages, just like in the main news page. It's already in the dev version and will be available in the next beta.
There are two flavours: one that appends &page=N to the URL, and another that does it like /page/N.
The first one (default/dynamic) works without changes, both with and without fancy urls enabled.
However for the second one (fancy/folder-style) it is necessary to add a new rewriterule in the .htaccess file. I don't know much about this, but after playing a bit this seems to work (example for slug news):
Code:RewriteRule ^news/tag/([^/.]+)/page/([^/.]+)/?$ index.php?id=news&tag=$1&page=$2 [L]
Can anyone tell me if this is correct, or should I change something? Thanks.
My website made with GetSimple CMS is
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts
Arte & Società
www.artesocieta.eu
An indipendent website about Italian Contemporary Visual Arts