Somehow it seems WordPress sees the custom post type as posts, not
pages?
No, but your permalink structure (for the default post post type) that you set via the Permalink Settings admin page contains (or starts with) blog/ and by default, it will also be prepended to permalinks for custom post types, unless the post type sets the with_front argument to false.
Therefore,
How can I get rid of “blog” in their URLs?
Just set the with_front to false:
'rewrite' => array('slug' => 'ncfpw', 'with_front' => false),
And then flush the rewrite rules by simply visiting the Permalink Settings page.
Related Posts:
- Theme localization of “slugs” (custom post types, taxonomies)
- How do I get a post (page or CPT) ID from a title or slug?
- custom slug for custom post type
- Disable permalink on custom post type
- Get list of all registered post types slugs
- Using Custom Fields in Custom Post Type URL
- Taxonomy archive with same slug as custom post type?
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Post slug changed using code doesn’t reflect on editor when post is published
- Taxonomy page returns 404 page not found
- Custom Post Type – Same Post Name, Different Post Type
- Setting a title on a Custom Post Type that doesn’t support titles
- 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
- Remove Slug from Custom Post Type results in 404
- Getting Post ID from slug during init
- Custom post type’s slug gets wrong when adding a custom meta box
- Rewrite CPT slug with two taxonomy slug instead of one
- WP query by custom post type slug/name
- Can’t edit Custom Post Type slug/permalink
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Taxonomy breaking pages 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
- Rewrite rules for custom post type slug
- Automaticly add slug to posts
- Make slug as ID Number for custom post types
- 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?
- Remove post type slug of all post types from permalinks
- Stop / prevent WordPress from updating permalinks of custom post type
- Append date to custom post type url slug
- CPT custom archive template does not get loaded
- Am I using the flush_rewrite_rules function in the right place?
- Change custom post type slug from plugin options
- 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?
- Permalink for a custom post type isn’t working and I don’t know why
- Custom rewrite url category
- 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
- Nested Custom Post Type or Custom Post Type Parents?
- Programmatically rewriting slug through functions.php but returns 404
- Create a custom php page and load it at a specific slug
- How to prevent a CPT’s slug and page slug from conflicting with each other?
- Custom Post Slug same as Parents Category Slug
- Multiple (two) category postings on the same page.
- 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 Confusion Between Post and Custom Post types?
- Different slug taxonomy for two different CPT
- How can Custom Post Type and a page have the same slug?
- How to get postname in custom page?
- Changing slug of all posts
- WordPress Custom Post Type – Rewrite Query
- WordPress different templates for same type custom post (but different slug)
- Custom Post Type Advanced Slug
- Apply template by path/slug related to custom post type?
- Changing CPT slug and taxonomy already registered in parent theme
- Custom Post Type for Shortcode Use – Prevent it display as a post (with slug)
- Custom Post Types and Removing Slugs – should we do it?
- Need to return a string as permalink insted of str_replace
- Under What Conditions Can I name my CPT the same as my CPT Page?
- Custom post type and multi taxonomies + customize url
- Use custom post type taxonomy between cpt slug and name
- Show code dependant on CPT & category
- Remove custom taxonamy slug with pagination
- How can I write slugs / permalinks as: custom post type -> custom taxonomy and custom post type -> custom taxonomy (one CPT and many taxo)?
- Add %post_id% to slug of custom post type and prevent the “unique slug” thing that WP does?
- Change permalink incrementor into pseudo-subdirectory
- add .html to custom post type with WPML
- Custom Post Type duplicating slug for new posts
- WordPress page not showing up – replaced with last 10 posts?
- Custom permalink rewrite rules – how do I fix this?
- WP gives 404 error for custom post type with GET variable
- Display a Custom Post Type within another with hierarchically slug
- 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
- Costum post type with costum (sub)taxonomy
- Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks
- Can’t make permalink of CPT work
- Custom Post Type Rewrite Rule
- How can I retrieve the slug for a custom post type via name?
- WP Query WordPress Post Type with the same Taxonomy name
- Ideal top-level slug methods
- 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
- Removing custom post type name from permalink
- Custom Post Type slug has the same Redirection entry
- How to change rewrite slug for custom post type without conflicting w/ child pages of page with same slug
- Custom post type URl Cutomization
- Right Permalink for Custom Post Type with number slug
- How to get taxonomy category in permalink for each taxonomy OR How to give a parent page to a given taxonomy?