# Two pagination questions (

**URL:** <https://www.ruby-forum.com/t/two-pagination-questions/122237>\
**Category:** Rails\
**Created:** [December 5, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/two-pagination-questions/122237 "2007-12-05T20:53:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![erikgj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbce88/32.png) [@erikgj](https://www.ruby-forum.com/u/erikgj)\
**Post date:** [December 5, 2007, 8:53pm UTC](https://www.ruby-forum.com/t/two-pagination-questions/122237/1 "2007-12-05T20:53:54Z")

</div>

Hello,

I’m using the will\_paginate plugin for pagiantion and I would like to  
ask how is it possible to change its default pagination URL from:  
/action?page=2  
to  
/action/page/2

?

I’ve tried something with routing, but it still doesn’t work as it  
should.

My other question is how I should save the current page, because I would  
like to edit my records and then go back to the page where I was before.

I’m thinking to use sessions for this, what do you think about it, am I  
on a good road? 🙂

Thanks.
