Title: Custom Post Type Permalink Problems
Last modified: August 19, 2016

---

# Custom Post Type Permalink Problems

 *  [Simon Ainley](https://wordpress.org/support/users/simonainleydotinfo/)
 * (@simonainleydotinfo)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/custom-post-type-permalink-problems/)
 * Hello,
 * I have created a custom post type as seen below,
 *     ```
       function transactions_register() {
   
       $args = array(
   
           'label' => __('Transactions'),
   
           'singular_label' => __('Transaction'),
   
           'public' => true,
   
           'show_ui' => true,
   
           'capability_type' => 'post',
   
           'hierarchical' => false,
   
           'rewrite' => array("slug" => "transaction"),
   
           'supports' => array('title', 'editor', 'thumbnail')
   
       );
   
       register_post_type( 'transaction' , $args );
   
       }
       ```
   
 * I have set my permalinks to be like this /%category/%postname however when I 
   navigate to a transaction, the URL looks like this,
 * > [http://www.domian.com/transaction/test](http://www.domian.com/transaction/test)
 * However this returns the following server error
 * > The page cannot be found
 * How can I make it so my custom post type will work with my permalink setting?

The topic ‘Custom Post Type Permalink Problems’ is closed to new replies.

## Tags

 * [custom post type](https://wordpress.org/support/topic-tag/custom-post-type/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Simon Ainley](https://wordpress.org/support/users/simonainleydotinfo/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/custom-post-type-permalink-problems/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
