Title: Nested Custom Post Types URL not working
Last modified: October 24, 2016

---

# Nested Custom Post Types URL not working

 *  [alphaluma](https://wordpress.org/support/users/alphaluma/)
 * (@alphaluma)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/nested-custom-post-types-url-not-working/)
 * I am developing a site and having an issue with a URL not resolving.
 * I have a custom post type for a Boat, then other ones for a New Boat, and New
   Boat Package. The URL structure I have set up is as follows:
 * mydomain.com/boats
    mydomain.com/boats/new-boats mydomain.com/boats/new-boats/
   a-new-boat-1 mydomain.com/boats/new-boats/a-new-boat-2 mydomain.com/boats/new-
   boat-packages mydomain.com/boats/new-boat-packages/a-new-boat-package-1 etc
 * All pages except the final pages are archives showing the entries within it. 
   Browsing to a single new boat works as expected and shows the right page, but
   attempting to browse to a new boat package results in a 404. The URL which I 
   am attempting to go to is the one generated by WordPress.
 * I don’t understand why this would be happening. Both post types are configured
   identically.
 * The website is currently in a dev environment so please contact me for more details
   if needed.
    -  This topic was modified 9 years, 6 months ago by [alphaluma](https://wordpress.org/support/users/alphaluma/).

Viewing 1 replies (of 1 total)

 *  Anonymous User 14808221
 * (@anonymized-14808221)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/nested-custom-post-types-url-not-working/#post-8351630)
 * Those can be Permalink Issues or rewrite issues.
 * Please try to re-save the permalinks and also control the Custom Post Type Settings,
   to make sure you do not have any rewrite rules there.
 * Then, also resave All posts that do not work (give 404) once.
    This can as example
   be done fast with the Bullk Edit Mode in the post Admin List.
 * If then the posts still throw 404, try to create a new dummy test Post Type and
   control the behavior there.
 * If that works, delete the old Post Type completely (but NOT it’s posts) and rename
   the new Dummy Post Type to the exact same Slug as the old, not working Post type
   had.
 * This would then simply bring back all Posts and they should then work.
 * **Please perform a Backup previous to proceed.**

Viewing 1 replies (of 1 total)

The topic ‘Nested Custom Post Types URL not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User 14808221
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/nested-custom-post-types-url-not-working/#post-8351630)
 * Status: not resolved