The solution to this problem turned out to be:
- Changing the name of the custom post type from “events” (with the slug
/events/
) to “event” (with the slug/event/
) - Creating a page with a custom template with the slug
/events/
to display the archives of the custom post type
While this is technically not an answer to the question of why WP refuses to serve and display the archive template for the custom post typer per WP’s own template hierarchy, it solves my problem.
Along the way, I used wp-cli to flush WP’s internal cache and delete all transients, but that didn’t have any effect.
Related Posts:
- Can a custom post type have a Parent Page?
- How do I append multiple taxonomies to the URL?
- Multiple post types – share same ReWrite slug?
- Taxonomy, Terms, and Template Files
- Templates for Custom Post Types and Custom Taxonomies
- Custom Post Type with Nested Taxonomy and Template Files
- Clean URL permalink for custom post type
- Remove POST_TYPE from custom post type permalink
- Programmatically adding posts
- Extend the wp_get_archives output with ‘?post_type=foo’?
- removing custom tax & CPT slug, adding taxonomy term in front of custom type
- Permalink structure by Post Meta value
- 2 Templates 1 custom post type according url
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- Create a custom php page and load it at a specific slug
- How to include term custom meta into the custom taxonomy term permalink structure
- Custom taxonomy returns 404
- Migrating a taxonomy’s tags to the native category
- Flush Rewrite Rules when new site is created on network
- Template files for Custom Post Type and Taxonomy
- How to Create Template File for Parent Page of Custom Post Type
- make permalink go to a custom single.php file
- How to get the current category with custom posts
- Displaying a list of Contacts
- Custom permalink structure for remote content pages
- Setting a homepage – doesn’t seem to work
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- One Custom Post Type two different Templates
- WP 3.1 custom post type permlinks
- Why did permalinks setting affect the pages?
- Add category slug as class attribute in a link array
- Storing postID in session variable to query database when visitor on custom template page
- Specifying Default Template for Hierarchal Custom Post Type [duplicate]
- How to make a template for a specific post of a custom post type?
- PHP Button Custom link [closed]
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Easy way to change custom post type name for permalinks?
- Custom post type permalinks
- Getting rid of /my_custom_post_type/ in the single view URL
- Use different taxonomies in different custom post types’ permalinks?
- Custom post type menu missing after 3.0b2 -> 3.1.2 upgrade
- Custom Post Type – List all attachments on Edit Screen
- Using wordpress template tags within an array
- custom permalinks based on taxonomies for custom post type
- Why does wordpress keep adding postname to my CPT’s permalink in the end?
- Include custom post type single template, but respect theme override of template if it exists
- Custom template page with custom archives listing by user
- post_type_link not working in gutenberg
- Custom post type not using custom template
- Wrong generated page_name/slug on first publish of custom post type
- Custom Post Type template stored in plugin folder not showing in post attributes dropdown
- Remove post type slug of all post types from permalinks
- Custom template won’t load for a custom post type (custom permalinks used)
- Group posts by custom post type
- Making a custom help center page
- Custom Page that comes with preloaded content for the user
- Stop / prevent WordPress from updating permalinks of custom post type
- Custom taxonomy in URL showing 404
- Set up Custom-Post-Type Author Archive
- Custom post type and permalink issue
- How do I correct an incorrect permalink?
- How can I update the permalink everywhere for a custom post type?
- How inefficient is it to use a Custom Post for 4-5 sentences & pull all to 1 page?
- Update permalinks when new category added to custom post type taxonomy
- How to clone the “Projects” Custom Post type in Divi theme
- Add archive slug to default post post type
- Custom Post type and permalink settings
- How to check post type (to include custom css)
- Custom rewrite rule for hierarchical custom post type
- How to customize a permalink (URL) structure?
- Plugin: register custom post types, child ready and performance best practices
- Display only one post each WEEK
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- How to Mass Delete Images from Media Library
- add category name to permalinks on product page /category-name/product-name
- Use menus with anchors
- Custom Post Type permalink shows wrong page: homepage/index.php
- Get term name and term parent into custom post type permalink
- Query with no terms uses index.php template instead of archive.php
- WordPress add_permastruct unwanted matches
- Rewrite rules for custom posts types
- How to integrate video slide using custom post types?
- Does WordPress consider a post name unique if that same post name is in multiple Post Types?
- Create template for taxonomy results limited by Custom Post Type
- Why doesn’t a custom post type permalink ever hit index.php
- Template for custom post with custom taxonomy
- WordPress Custom Post Type Children Template
- How to hook custom taxonomies to custom post types and make the permalinks work?
- custom post type parsed as attachment
- A question on creating filters for custom posts using taxonomy
- Conditional Query of Custom Post Type and custom taxonomy
- will post_id ever change? Can I safely use post_id for custom queries?
- Getting template_include to work when allow_url_include is off?
- List custom taxonomy specific to one custom post type
- Define new user capability for custom post types?
- How to allow visitors to enter custom post type?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Custom post type content using custom fields without template
- 404 Issue w/ Custom Post Type – using Meta for Permalink rewrite