No it’s not a bug. Pages are effectively a Post Type and so is your Custom Post Type. So assuming you created a Page called news but then you declared a new CPT also called news then WordPress can’t determine which is correct.
To explain this another way, if you were to create a page called news and then another one called news, the slug would be news2 but because you are declaring the slug for the CPT this is what is causing the problem. Because you’ve hard-coded the slug in your functions.php file wordpress doesn’t automatically amend it like it does with new pages (news2, news3, etc.).
You could consider a different slug for your CPT perhaps?
The following post may help to understand the different post types:
http://codex.wordpress.org/Post_Types
HTH
Related Posts:
- Remove slug from custom post type post URLs
- Theme localization of “slugs” (custom post types, taxonomies)
- How do I get a post (page or CPT) ID from a title or slug?
- How to get custom post type label and singular label from its slug?
- custom slug for custom post type
- Disable permalink on custom post type
- Using Custom Fields in Custom Post Type URL
- Change slug of registered custom post type in child theme
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Post slug changed using code doesn’t reflect on editor when post is published
- How to achieve this permalink -> category-name/custom-post-type-name/post-name
- Taxonomy page returns 404 page not found
- Prepend meta_value to permalink of post
- Reslug a Custom Post Type
- Removing CPT slug from URL results in 404 error for archive page
- Custom Post Type pagination when CPT ‘rewrite’ rule and a page have the same slug
- Getting Post ID from slug during init
- Remove taxonomy slug when not assigning taxonomy with custom post types
- Custom post type’s slug gets wrong when adding a custom meta box
- Can’t edit Custom Post Type slug/permalink
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Custom post type with slug for plural (archive) and for single
- Automaticly add slug to posts
- How do I fix permalinks for custom post types that has the same slug as a page?
- Custom post type and taxonomy slug issue
- Custom post types archive redirect
- Does WordPress limit the length of slug names for Post Meta or Terms?
- Why does wordpress keep adding postname to my CPT’s permalink in the end?
- Remove post type slug of all post types from permalinks
- CPT custom archive template does not get loaded
- Am I using the flush_rewrite_rules function in the right place?
- Rewrite slug for CPT
- Is there a way to have custom post type and page with the same slug?
- Using Same Slug With Multiple Post Types
- Rewrite post type slug only for child theme
- Child post with numeric only slug keeps redirecting to parent
- How to add a post slug to a url?
- Adding Post id to the end of slug in a Custom Post Type
- Remove the parent slug in a CPT URL
- Permalink for a custom post type isn’t working and I don’t know why
- Index page with the same id as the slug
- How can I make the slug of the taxonomy also the slug of the custom post
- Assign same parrent Page to pages AND custom post types
- Allow duplicate slugs for custom post type with taxonomies
- Multiple (two) category postings on the same page.
- Removed custom post type slug but not working for child pages
- Can slugs from posts and custom post types conflict?
- Custom Post Type – Duplicate Page Slugs
- Remove permalink for custom post type
- Custom Post Type archive-{post-type}.php not working
- Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens
- How do you create %post_type%/%postname%/ permalink structure?
- Slug for custom post type
- Rename a slug label
- Slug Confusion Between Post and Custom Post types?
- Using page slug in wp_query
- Listing all slugs?
- WordPress Custom Post Type – Rewrite Query
- Automatically update slug with latest title within custom post type [duplicate]
- Changing CPT slug and taxonomy already registered in parent theme
- How to use a specific custom field in a custom post type as slug
- Custom Post Types and Removing Slugs – should we do it?
- sort by name (slug) custom post type
- Need to return a string as permalink insted of str_replace
- How to change CPT single post slug
- Custom post type and multi taxonomies + customize url
- Custom Post type dont use custom page template (slug is not right)
- Use custom post type taxonomy between cpt slug and name
- Show code dependant on CPT & category
- Difference between a default post type and a custom post type?
- How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?
- Custom Post Type not using correct page template
- Change permalink incrementor into pseudo-subdirectory
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Custom Post Type duplicating slug for new posts
- WordPress page not showing up – replaced with last 10 posts?
- WP gives 404 error for custom post type with GET variable
- Custom taxonomy archive slug overwrites static page
- Slugs on hierarchical taxonomies
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- Generate slug and meta data if meta field is empty
- Get full control over custom post type url
- Add category slug as class attribute in a link array
- Relationship with 2 custom post types
- Costum post type with costum (sub)taxonomy
- Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks
- Category slug not showing for Custom Post Type
- WP Query WordPress Post Type with the same Taxonomy name
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Ideal top-level slug methods
- WordPress pagination URL
- Create page using same slug as custom post type
- Hide custom post type slug url from search engine [closed]
- Same slug for Custom Taxonomy archive and CPT archive – Rewrite rule not working
- Custom post type Premalinks main page and details page
- Is it possible to use a post name in a custom post slug?
- Custom slugs with dates & IDs on Custom Post Type
- How to change permalink structure off default posts and also CPT’s posts
- Custom Post Type slug has the same Redirection entry