Title: tag.php paged 404 error
Last modified: August 20, 2016

---

# tag.php paged 404 error

 *  [Ali Irani](https://wordpress.org/support/users/airani/)
 * (@airani)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/tagphp-paged-404-error/)
 * hi,
 * i want retrive two type tags in tag.php and i did by this code
    `query_posts(
   array('post_type'=>'post','paged'=>$paged,'posts_per_page'=>1));` but if my url
   this localhost/?tag=test1 and i want test1 and test2. and number of test1 3 and
   test2 4 and sum = 7. when i go to page 4 and up i gave 404 error!!
 * i hope understand my problem and help me 🙂
    tnx

Viewing 1 replies (of 1 total)

 *  Thread Starter [Ali Irani](https://wordpress.org/support/users/airani/)
 * (@airani)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/tagphp-paged-404-error/#post-2962131)
 * this code:
    `query_posts(array('post_type'=>'post','paged'=>$paged,'posts_per_page'
   =>1,'post__in'=>array(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,1);`
 * nobody help me?? 🙁

Viewing 1 replies (of 1 total)

The topic ‘tag.php paged 404 error’ is closed to new replies.

## Tags

 * [paged](https://wordpress.org/support/topic-tag/paged/)
 * [query](https://wordpress.org/support/topic-tag/query/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 1 reply
 * 1 participant
 * Last reply from: [Ali Irani](https://wordpress.org/support/users/airani/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/tagphp-paged-404-error/#post-2962131)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
