Permalinks and pagination

4 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: June 25, 2015   (RSS)

By Djulia - June 23, 2015

Hi,

Is there a solution to obtain a pagination friendly for the lists?

www.domain.com/article-list/page-1
www.domain.com/article-list/page-2
...

Thanks!

Djulia

By gregThomas - June 25, 2015

Hi Djulia,

If you used the permalinks plugin, you'd be able to create links that looked like this:

www.domain.com/article-list/?page=1

This would work with the default pagination system built into CMS Builder. 

It won't be possible to create the URL structure in your previous post without writing some custom code, you might also be able to use .htaccess to convert /page-2 to be $_REQUEST['page'] = 2 in the request array.

Thanks,

Greg

Greg Thomas







PHP Programmer - interactivetools.com

By gregThomas - June 25, 2015

Great, glad you've got it working! :-)

Cheers,

Greg

Greg Thomas







PHP Programmer - interactivetools.com