Implement friendly urls for pagination