This is normal WordPress behaviour. Any time it detects that a slug is a duplicate – regardless of post-type or parents or categories – it will append a number to differentiate the newer version. As far as I know, there is no way to override this.
Related Posts:
- Custom Post Types, slug, archive and SEO plugins
- Automatically add date to the auto generation of post slug
- Remove Custom Post Type Slug and add Custom Taxonomy to Permalink Structure?
- WordPress custom post type with folder structure in slug
- Show custom post with custom categories with specific slug
- Use category base slug in posts’ permalink
- Find out who deleted a page or post?
- Setting Custom Sort Order of Posts within a Category
- Custom permalink structure only for default posts
- Replace image attributes for lazyload plugin (data-src)
- Exclude drafts in all() view of edit.php
- Change the Slug of Post Type post to baseurl/post/%postname%
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- How to control which category will be picked for the slug of a post?
- Change slug with custom field
- How to display comments and comment form on custom post type?
- Prevent duplicate posts in wp_insert_post using custom fields
- Add default content to post (for specific category)
- Custom post type single (permalink) throws a 404 error
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- How do I get the slug of a custom taxonomy category of a post?
- display order of connections
- same template for multiple custom post type single
- if custom post type exist
- How to place HTML below the title of the (custom) post overview
- How to get a nofication when post submitted
- .current-menu-item class on custom post type children pages – again?
- How to get posts by multiple post slugs? [duplicate]
- Define a name to the posts slug
- Get post id in wordpress action?
- Display page content AFTER a loop of posts
- Run a function when post is deleted?
- How can I create custom button in post.php
- how to replace embedded “full” sized images within a post with the “large” ones
- Downgrade user from role that allows post creation
- Remove slashes (both before and after) in relative post url
- Bulk update post slugs through database
- Animated gif for a thumbs
- Edit custom post type admin menu link
- I am unable to publish/update post
- How to include a post type in the admin/backend?
- Get posts of ONE taxonomy term of custom post type
- WordPress Custom Fields (Checkboxes with multiple values)
- Using custom post template
- Custom Post Archive Page not working
- Adding custom fields to bbpress reply form
- WordPress custom Query for Posts in Category display posts multiple times
- Editing the default page to show all posts, rather than most recent ones
- How to handle broken links created by permalink/slug changes?
- Permission issue with custom post type – not added to menu – by plugin
- Visting slug for ‘post’ post type shows 404 not archive?
- Add a custom meta box in the post options that loads some html code in the header
- Static posts page with home.php
- Custom post types related to same custom post type?
- Disable WordPress Archive Conflict Check
- Is it possible to customize the post according to post format in single.php?
- Using setup_postdata() with multi-dimensional array
- Check if a custom post type has already been created
- WordPress Query Posts From Category Post on Static Page
- Edit multiple custom post types while saving a new or edited post
- How to allow multiple thumbnail upload for Posts?
- add external project to web site wordpress on production
- post type slug vs page slug
- Custom Post Type, post-formats associated to custom post type > 404 archives
- Delete post from admin but not from database
- Organization of time insensitive content
- Custom Select Query – Selecting the Year?
- How to output all taxonomy links from a custom post type in a menu?
- Can I style single post that are in multiple catergories?
- What would causes search to return incorrect results?
- Get post slug and match with menu item slug to change css
- How to create custom search form function including post “tags”
- How to invoke a HTML custom button based on a HTML dropdownlist menu
- Please I want to prefix my WP posts title according to each category
- insert post fails after multiple postings
- Manual Scheduler For Custom Post Type
- Custom Post Type Rewrite URL
- Dev and prod on the same database- dev version active for IOS
- Custom Post Types and Broken Permalinks
- The first post appears twice
- How to delete/customize imported demo content from a theme or add my own?
- Word /blog/ in slug post, problems in CPT. Solutions?
- Append a random string to a post permalink
- single- and archive- templates not being applied to custom post types, not even after flushing permalinks
- Show Posts By Custom Field
- Custom Post Type doesn’t use single.php or single-{custom_post_type}.php
- Post as frontpage – avoid duplicate content
- How to list all names and descriptions of a custom taxonomy
- How can I have the posts from one word press blog show on the presentation page of another word press site
- Customize search results to include custom posts and display in a specific template page
- Custom permalink based on custom post type fields
- How to only allow post to be deleted if custom field doesn’t exist
- Show a Category Specific Info Box
- Special Query: Title, Terms, Content – %LIKE%
- Custom Post Title as search term
- adding custom meta as well as looping through posts
- Best way to enable sorting by 3 criteria on a page of listings
- WordPress 3.2 – Problem with WYSIWYG editors in a custom post type?
- How to show only the date, the title and a little “summary” of my WordPress post in my custom theme?
- How edit footer copyright info? [closed]