Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Nested Custom Post Types URL not working

$
0
0

Replies: 0

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 47 seconds ago by  alphaluma.

Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>