Custom Post Type UI: CPT Archive Missing
CPT.
If the archive page for a post type made with Custom Post Type UI shows a 404 or does not list your items, the archive setting or the permalink rules are usually the cause.
Step 1: Open the post type

Go to CPT UI, Add/Edit Post Types, choose the post type from the dropdown and open its Settings.
Step 2: Enable the archive

Set Has Archive to True. If you want a custom address, fill Has Archive Slug. Click Save Post Type.
Step 3: Check visibility

Public and Publicly Queryable should be True, or the front end will not show the items.
Step 4: Flush permalinks

Go to Settings, Permalinks and click Save Changes. This rebuilds the rewrite rules.
Step 5: Check the rewrite slug

The post type slug must be unique. A page or category with the same slug causes a clash.
Step 6: Check the template

Your theme needs archive-yourtype.php or a generic archive.php. Block themes use the Archive template in the Site Editor.
Step 7: Publish an item

Make sure at least one item is published and not a draft.
Still stuck?
If these steps do not solve it, we fix it for you for a flat $99. Full refund if we do not solve it within 7 days.
Related guides
- Writing Clear Error Reports: Screenshots, URLs and Steps
- WordPress Tag and Date Archives Duplicate Content: Settings
- WordPress Permalinks Change: Redirect Old URLs and Avoid 404s
- Error Establishing a Database Connection in WordPress: Full Checklist