I make pagination with query_posts() function. Firstly, it works on local perfectly. Secondly i upload a web server with fresh new wordpress. But in web server pagination doesn't work magically :) Magically because, it's perfectly generate pagination links(like http://www.example.com/page/2) but if you go http://www.example.com/page/2 wordpress return 404 page. If you go http://www.example.com/page/1 it works perfectly and redirect you to homepage but the other pages like 2 or 3 it doesn't work.
I copy ftp and database on web server and paste local. In local i have same problem pagination works broken.
I have post type more than posts.
I don't understand what's the problem ?