Help me, I want modify hyperlink of will_paginate

I installed will_paginate plugins.

but, I have a question.

for exmaple.

if my page is http://localhost:3000/posts

will_paginate made paging code, prev, 1,2, next

If I click number two, my page move to http://localhost:3000/posts?page=2

I wanna hyperlink that is http://localhost:3000/user_login_id/posts?page=2

If you know this, help me.