Title: ../page/2/ not working?
Last modified: August 18, 2016

---

# ../page/2/ not working?

 *  [steadyvibe](https://wordpress.org/support/users/steadyvibe/)
 * (@steadyvibe)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/page2-not-working/)
 * I have a blog that is only displaying posts from one category. Right now for 
   some reason it lists every singe post on the one page but I would like it to 
   show about 20 posts per page. When I limit the query_posts to display only 20
   and click the next page button the next page displays nothing. This is how I 
   am attempting to so this: `<?php query_posts('category_name=Uncategorized&posts_per_page
   =-1'); ?>`
 * Is there a way to make this work?

The topic ‘../page/2/ not working?’ is closed to new replies.

## Tags

 * [limit](https://wordpress.org/support/topic-tag/limit/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [steadyvibe](https://wordpress.org/support/users/steadyvibe/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/page2-not-working/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
