Try give a name for your rewrite, like so:
'rewrite' => array(
'slug' => 'news-updates-archive',
'with_front' => true,
'feeds' => false,
'pages' => true,
)
So you will avoid any problem.
Also, the last functions you’re using are unnecessary. You can setup it on register_post_type:
'taxonomies' => array('post_tag', 'category'),
PS: Try empty your trash also and double check if your custom post type name is not duplicated. Sometimes that’s the error.
Related Posts:
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- Custom post types – Use post_id in permalink structure when using has_archive => true
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Custom Post Type Archives by Date with Custom Permalink
- Create permalink structure for one taxonomy archive per custom post type
- Custom Permalinks for Custom post Type Archives?
- Custom post type tag archives don’t work for basic loop?
- Custom post type with tags
- Change Permalink Structure for Tag.php template
- Best way to specify “article type” in URL
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- How to constrain the results to a specific post_type on tag archive page?
- Advanced archive url structure (category, tag and date)
- How can i remove post type archive URL?
- Custom post type URL structure with site.com/custom_taxonomy_slug/post_name
- Custom Post Type tag taxonomy “Page Not Found”
- Archive.php is not displaying tags
- Is it possible to remove the word “date” from archives?
- Custom post types not using archive structure
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Create a custom php page and load it at a specific slug
- URL rewrite add author as base
- Remove CPT name from permalink but add %category% instead
- Permalinks /country/city/cpt/postname/
- Custom Permalink to remove category word , keeping posts permalink with date?
- Rewrite Rule for showing Parent/Child Relationship between Two Hierarchical Custom Post Types
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Custom post type archive page blank
- Need help with permalink rewrites for Custom Post Types with hierarchical relationships
- Custom Post Type Permalink empty
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- Change custom post type permalink to show name of post from another custom post type?
- Custom Post Type Permalink
- Permalinks for custom post type
- How to have this permalink structure: post_type/postname/custom_inner_page
- Additional section in custom post type permalink
- Custom archive page for CPT UI
- How to include term custom meta into the custom taxonomy term permalink structure
- How to display custom post in archive section of the wordpress page?
- Blog posts for custom post type only
- Path to custom post type
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom taxonomy returns 404
- The loop seems stuck to a single (now deleted) post
- Cross reference custom post types
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Permalinks: custom post type -> custom taxonomy -> post
- Custom post type archive pagination 404
- Use “archive” as slug for custom post type
- CPT’s with landing page instead of archive – Url Rewrite?
- How to change permalink to include custom post type
- Removing Custom Permalink Structure for Custom Post Type
- Custom post type, permalinks, taxonomies and blog posts
- How to get all tags of a custom post type by id
- Custom post type permalink tag 404
- Custom post type permalink returns 404
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Use the same date-based permalink structure for all post types
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- permalink /category/post-name with custom post type and taxonomy
- Archive for CPT
- “Post name” permalink returns home page for custom posts
- Custom post type and taxonomy permalinks
- Is it better to use filter for the_content in archive pages?
- Hierarchical permalinks for custom post type and taxonomy
- How to organize hierarchical structure in custom post type with taxonomy (like with categories)
- Make custom post types and pages place nice, re: rewrite
- Custom Post Fields at the beginning of a Custom Permalink
- Flush Rewrite Rules when new site is created on network
- Pretty URLs and custom post types
- Form action doesn’t work if slug isn’t same as custom post title
- How to make permalink structure %category%/%postname%/ work for custom post type?
- set permalink for CPT
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Lost of query parameter when using permalink
- Custom permalinks rules don’t match and lost of query var in the process
- Custom Post Type – Duplicate Page Slugs
- How can I show 1 featured post in a styled element, and the next few below differently styled
- Rewrite rule for Custom post type Monthly and Yearly archive
- Different results between permalink and query var search
- menu link to custom post_type?
- Custom permalink with child taxonomy terms
- Custom post type Permalinks with hierarchical Taxonomies
- How can I get this request to use the Custom Post Type page template instead?
- 404 in custom post type feed with mistake permalink
- Custom post type posts don’t show in archive widget
- Add a permalink variable onto custom post type URL after post name slug
- Archive for a Taxonomy of a Custom Post type
- Remove permalink for custom post type
- Permalink misbehaving in Custom Post Types
- Check post on publish for blank title
- How to solve this custom post type goes to 404 page?
- Show all tags on custom post type
- Archive not sorting correctly
- Tag page only display 10 posts
- data-type=”” … needed post tags stripped of characters
- Template files for Custom Post Type and Taxonomy
- How to Create Template File for Parent Page of Custom Post Type