Title: benjamw's Replies | WordPress.org

---

# benjamw

  [  ](https://wordpress.org/support/users/benjamw/)

 *   [Profile](https://wordpress.org/support/users/benjamw/)
 *   [Topics Started](https://wordpress.org/support/users/benjamw/topics/)
 *   [Replies Created](https://wordpress.org/support/users/benjamw/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/benjamw/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/benjamw/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/benjamw/engagements/)
 *   [Favorites](https://wordpress.org/support/users/benjamw/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Custom Post Type pagination issues](https://wordpress.org/support/topic/custom-post-type-pagination-issues/)
 *  Thread Starter [benjamw](https://wordpress.org/support/users/benjamw/)
 * (@benjamw)
 * [14 years ago](https://wordpress.org/support/topic/custom-post-type-pagination-issues/#post-2750134)
 * The arguments for the CPT (the second argument of the register_post_type function)
   are given here: [http://pastebin.com/aBwZNBj4](http://pastebin.com/aBwZNBj4)
 * I’ve been playing around with it, and I added a custom rewrite rule, and it seems
   to be finding the page properly, but is still choking on the paged param.
 * Here is my rewrite rule:
    `add_rewrite_rule('products/page/?([0-9]{1,})/?$', '
   index.php?pagename=products&paged=$1', 'top');`

Viewing 1 replies (of 1 total)