Guides › WordPress › Site down or error screens

Custom Post Type UI: CPT Archive Missing

CPT.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.
Site down or error page

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.

1Open the post type2Enable the archive3Check visibility4Flush permalinks5Check the rewrite slug6Check the template7Publish an itemFixed? Test the site. If not, get help.
The steps in order. Work down the list and stop when the problem is solved.

Step 1: Open the post type

Illustration for 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

Illustration for 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

Illustration for Step 3: Check visibility

Public and Publicly Queryable should be True, or the front end will not show the items.

Step 4: Flush permalinks

Illustration for Step 4: Flush permalinks

Go to Settings, Permalinks and click Save Changes. This rebuilds the rewrite rules.

Step 5: Check the rewrite slug

Illustration for 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

Illustration for 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

Illustration for 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

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-22.