Title: next_posts_link permalinks
Last modified: August 19, 2016

---

# next_posts_link permalinks

 *  [kierzniak](https://wordpress.org/support/users/kierzniak/)
 * (@kierzniak)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/next_posts_link-permalinks/)
 * Hi! I have problem with next_posts_link and permalinks. When I set permalinks
   to default e.g.?p=123 next_posts_link is working ok. But when I set to /%category%/%
   postname%/ next_posts_link is redirecting me to 404 page. I must admit that i
   have page with custom post type “events”. Summary up:
    [http://www.domain.com/?p=events&amp](http://www.domain.com/?p=events&amp);?
   page=2 is working [http://www.domain.com/events/page/2](http://www.domain.com/events/page/2)
   404
 * my .htcaccess file:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/next_posts_link-permalinks/#post-1615502)
 * check out this topic: [http://wordpress.org/support/topic/pagination-for-custom-post-types](http://wordpress.org/support/topic/pagination-for-custom-post-types)
 *  Thread Starter [kierzniak](https://wordpress.org/support/users/kierzniak/)
 * (@kierzniak)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/next_posts_link-permalinks/#post-1615515)
 * This all most work form me! Pagination is ok, but all my events have 404.
    I 
   have changed the slug so i have: [http://www.domain.com/events/page/2](http://www.domain.com/events/page/2)
   is working ok but with slug set to event [http://www.domain.com/event/my-some-event](http://www.domain.com/event/my-some-event)
   i have still 404 Any soultion?
 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/next_posts_link-permalinks/#post-1615536)
 * try this:
 *     ```
       'rewrite' => array( 'slug' => 'event', 'with_front' => true ),
       '_builtin' =>  false,
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘next_posts_link permalinks’ is closed to new replies.

## Tags

 * [next_posts_link](https://wordpress.org/support/topic-tag/next_posts_link/)
 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/next_posts_link-permalinks/#post-1615536)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
