Title: Custom post type&amp;Custom permalinks problem
Last modified: August 21, 2016

---

# Custom post type&Custom permalinks problem

 *  [ilia.zubkov](https://wordpress.org/support/users/iliazubkov/)
 * (@iliazubkov)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/custom-post-typecustom-permalinks-problem/)
 * 1. Install WordPress
    2. Install plugin Custom Permalinks 3. Select Post name
   on Permalink Settings page 4. Add custom type to functions.php add_action( ‘init’,‘
   create_post_type’ ); function create_post_type() { register_post_type( ‘custom-
   post-type’, array( ‘labels’ => array( ‘name’ => __( ‘Cusom Post Type’ ), ‘singular_name’
   => __( ‘Cusom Post Type’ ) ), ‘public’ => true, ‘has_archive’ => true, ‘rewrite’
   => array(‘slug’ => ‘custom-post-type’), ‘supports’ => array( ‘title’, ‘editor’,‘
   thumbnail’ ) ) ); } 5. Create record in this type “Home of custom post type” 
   and set “custom-post-type/” URL for it (ie, URL is equal to “Rewrite” slug in
   this custom type) 6. Create record in this type “Sub page of custom type”, use
   default URL for it 7. View this record – it will not show correctly (Error 404)
 * [https://wordpress.org/plugins/custom-permalinks/](https://wordpress.org/plugins/custom-permalinks/)

The topic ‘Custom post type&Custom permalinks problem’ is closed to new replies.

 * ![](https://ps.w.org/custom-permalinks/assets/icon.svg?rev=1785367)
 * [Custom Permalinks](https://wordpress.org/plugins/custom-permalinks/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-permalinks/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-permalinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-permalinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-permalinks/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ilia.zubkov](https://wordpress.org/support/users/iliazubkov/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/custom-post-typecustom-permalinks-problem/)
 * Status: not resolved