I agree with you 100%. Was just giving him a way to get what he wants... but yes it seems totally pointless and the user will not directly see this pagination link... nor does it actually impact anything they are doing at all...
@m-rk , Thanks for your answer, Maybe i am doing wrong from the begging so there is a good question from you - why?- I am doing something like a quiz system so i dont want usuers to change url, they will only see next question (or anything). Maybe i should not use pagination system?
@alihuseyin even if you use POST in that case the user is still able to change the page. You need some other implementation to prevent users going to pages/steps they are not allowed to visit (yet).
If you are making a quiz with steps (or call it pages) you should keep track of the user progress. You could do this with sessions or storing it in the database. Than you are able to check if the user is allowed to be at step 1, step 2, step 3, etc.
There are multiple implementations possible here. It depends on what you want and what the restrictions are. Do you have authorized in users that are taking the quiz or are there only unauthorized users? Can users take multiple tests? Can they go steps back and forth? etc. etc.