How could there be a page 2 of the archives if you’re not allowing archives?
This is also why it’s working that you can have an actual page at that url and add a loop…you’re adding that loop.
If you change your url “announcements” to something else you’ll still see the first page of your cpt because presumably you’ve added your own custom loop.
You should not be rewriting your cpt permalinks to a page you have or create a page with the same url as your cpt permalink. It leads to confusion as you see in this case.
If you turn on the archive of this cpt, refresh your permalinks, you’ll see that your content is no longer available.
Id suggest changing the slug of the page url to something else. That’s the way WordPress is intended to be used.
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?
- 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
- Rewrite CPT slug with two taxonomy slug instead of one
- 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
- 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.
- Can slugs from posts and custom post types conflict?
- Auto Slug Generation 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
- Slug Confusion Between Post and Custom Post types?
- Different slug taxonomy for two different CPT
- Using page slug in wp_query
- How can Custom Post Type and a page have the same slug?
- How to get postname in custom page?
- Listing all slugs?
- WordPress Custom Post Type – Rewrite Query
- WordPress different templates for same type custom post (but different slug)
- Custom Post Type Advanced Slug
- 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
- 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
- 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)?
- 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
- Add category slug as class attribute in a link array
- 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
- 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
- Custom Post Type Slug / Page Slug Conflict – Prevent use of reserved slug on page save?
- Ideal top-level slug methods
- is this a bug or not?
- Create page using same slug as custom post type
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- Hide custom post type slug url from search engine [closed]
- 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
- Add post id to url instead of WordPress default -2 suffix
- Taxonomy Archive URL + Template