I would suggest a combination of using pages for the parent directory content and comments handling e.g with the slug/cars-home/
and a custom post type to gather each single cars e.g. /cars/red/
.
-- /cars/red/ (single CPT)
-- /cars/blue/ (single CPT)
-- /cars/white/ (single CPT)
--/cars-home/ (page)
Next you can either add a custom loop to include a loop querying the car
Custom Post Type, or you can call the cars-home
page inside your car
CPT archive template.
Related Posts:
- Why is “/page/2/” not working?
- How does WordPress handle permalinks?
- Get page permalink without wpurl
- Can I use REST-API on plain permalink format?
- How to change ‘with_front” key from an existing custom post type?
- Why would Numeric permalinks work, but %postname% won’t?
- Passing variables through permalink structure
- Adding anchor to paginate_links + Safari anchor bug
- How to stop permalink redirects for a particular slug
- Remove subfolders from URL
- Why does WP not use relative links when linking pages?
- htaccess or redirect to cloak portion of a link?
- What is the action or filter for changing permalink in Edit Post/Page?
- WordPress Permalinks %postname% for RSS2 Feed URL
- generate custom permalink based on a custom field
- Migrating WordPress blog to New Webhosts, something is adding a # and gibberish
- How to get wordpress link to fully evaluate when coming from facebook
- Is using %postname% for permalinks really that bad for performance?
- Change author slug and functionality
- How to tranform Headlines into linkable permalinks?
- Best way to add internal link in widget
- Changing search URL to something other than “search”
- Changes to .htaccess not updating the file (old rules still take effect)
- article pages not displaying on local instance of wordpress site
- breadcrumbs & rel=”nofollow”
- Use Regular Expression to get tag from permalink url during wp_rewrite in generate_rewrite_rules
- Create unique alphanumeric ID on wp_insert_post
- Programatically changing post’s permalink when identical post type is published
- Permalinks not working with Vagrant
- Media Gallery Images – safe to change permalink?
- Possible to remove taxonomy from permalink if uncategorized?
- Is there a link parameter that will show me all my published pages?
- Files rendering adding “.x95527” before file extension [closed]
- Custom permalink leads to index page
- How to eliminate permalink prefix in WordPress Multisite
- wp not making CPT permalink / slugs unique
- Permalinks 404 error with HTTPS host
- Mirror content based on URL slug
- How to change hierarchical page permalinks to be flat
- WordPress permalink prefix
- Hierarchy of Subcategories on Permalink (bug?)
- Strange Anchor Tag Behavior (in-page links work, external pages do not) [closed]
- WordPress 3.1 .htaccess contents keep dissappearing?
- Permalink in WordPress loop outputs for each new line
- Freeze child page URLs so parent permalink changes don’t give 404s?
- New custom PHP pages are getting 404s
- How to test custom rewrite rules /permalinks?
- Add a filter to get_comments_link()
- RSS feed link on archives page not working
- Adding a prefix to the blog, but only the blog
- Order custom post type posts by custom field with pretty URL
- Show category name in the post URL only for specific categories
- post permalinks with dot in url don’t resolve to correct page template
- After cloning WP do a subdirectory, I can’t access it
- Moved site, Old links in pages still pointing to old host
- help to remove last trailing slash using add_rewrite_rule
- how to get permalink
- Protect Post Permalink From Copy
- Change permalink to attachment
- WordPress Page Not Found if Permalink Settings is Postname
- Main blog page works but title says Page not found
- How to translate “Permanent link to” text
- WordPress Permalink Redirect 301
- problem with pagination in custom permalinks
- WordPress permalink change causes all incoming links to give 404 errors
- Problems with permalinks (.htaccess not working)
- WP as a CMS menu
- Subdomains pointing to a permalink URL
- Change author permalink using htaccess?
- corrupted URLs – can’t leave starting page
- how can i change the permanent from permalinks (wordpress)
- A dash can replace a period in a link, how to fix it
- URL gives 404 error of my subfolder site when i change permalink
- Problem with two WP installation on root and subfolder
- WordPress image title attribute becomes permalink? [duplicate]
- Nested permalink without dummy parent page
- home page slug editor missing from WordPress
- Custom Taxonomy rewrite rule causes 404 error on page or single post depending on if it’s set to “True” or “False”
- Custom permalink question
- followup to: Page begins with number, WordPress adds 2
- Pages with parent pages giving 404 errors
- WordPress and Woocommerce Chinese Permalink
- redirect any category in URL to the ID and post-name only – hundreds of pages affected
- WordPress website redirecting to old domain if I not specificy / at the end
- Moved WordPress to other folder (Windows) WAMP = 403 Forbidden
- LetsEncrypt WordPress on the Raspberry Pi – Nice url’s give 404 with https, http works
- permalink to single page
- changing permalink gives 404 error for old links
- single.php being ignored, going straight to attachment.php
- WordPress Archives Cause Looping
- Is there a way to add slug to home_url on this function?
- Customized author slugs not working with get_author_posts_url method
- Custom WP permalink structure
- region selection
- Redirecting From An Old Permalink Structure
- How to change my URL on intranet
- Include language variable in url
- Is it posible to translate a url prefix?
- Add additional URL variations for a Post
- How to use ‘blogs.dir’ as media upload instead of ‘uploads’ directory in WordPress multisite setup