This issue can be a little difficult to triage. I would start by checking your permalinks structure. When you save it the new code will be written to the .htaccess file.
WordPress will behave like this when you request a URL that isn’t there. It will give a 404 but it will search through the database for a similar slug and show that page.
If you have a page at /content/my-post-slug and someone punches in /my-post-slug it will, usually, try to 302 Redirect to that post. I have run into cases where this 404 behavior happens, though. Something about the .htaccess mod_rewrite config causes WordPress not to redirect correctly.
Related Posts:
- Custom post type pagination 404 fix?
- Inconsistent temporary 404s on whole install | PHP error with post-template.php
- Custom post type 404s with rewriting even after resetting permalinks
- Custom Post Types 404 Issue
- Pagination throws 404 error on custom taxonomy archive pages
- 404 on child page when parent page slug is identical to custom post type
- Hierachical Custom post types permalinks not working
- How to disable a Custom Post Type Feed?
- How can i avoid the permalink start with ‘blog’ while using the custom post type?
- Child pages on hierarchical Custom Post Types 404s
- Custom Post Type Works but Still Shows “Page Not Found”
- WordPress custom post type category pagination 404 Error
- Pagination throws 404
- How do I redirect all 404 errors of a specific post type to another URL?
- Removing CPT slug from URL results in 404 error for archive page
- WordPress monthly archive links result in 404
- Remove Slug from Custom Post Type results in 404
- How to remove CPT comment feed from head?
- Pagination gives 404 error
- Custom Taxonomy 404
- Create second custom 404 page for selected post type
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- Custom Post Type rewrite rules not working, how to alter the rewrite order?
- 404 error on custom post type
- Multisite custom post type’s single page 404
- Why my custom post posts aren’t showing (404 error / page not found)
- How To Create A Custom Taxonomy 404 Page
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Bizarre Permalinks Issue: 404 Errors Everywhere
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- Wrong request query on cpt and tax
- Help with Elementor Pagination CPT archive 404 problem
- Trouble with CPT Child 404
- Using taxonomy term in CPT permalink – Pages 404’s
- Custom post URL 404 error
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Set a CPT slug as a base name for all the taxonomies
- How to prevent a CPT’s slug and page slug from conflicting with each other?
- WordPress randomly shows 404 errors
- Parent Page and Breadcrumb URL’s for Custom Post Types Not Working
- Custom post type archive pagination 404
- Hierarchical permalinks for custom post type and taxonomy
- Top Level pages in wordpress giving 404, but child pages working fine
- cutsom posts 404ing
- 404 in custom post type feed with mistake permalink
- Custom post type pagination 404
- Page not found for custom post type UI plugin and taxonomy
- How to solve this custom post type goes to 404 page?
- Custom post type single page (single-{CPT-name}) 404 when slug includes hyphens
- Problems with 404, .htaccess, permalinks and WordPress custom posts locally on Snow Leopard
- 404 Error on form submission within custom post type
- Custom WP_Query always respond with 200 status even when no entry
- Custom taxonomy page returns 404
- One Custom post type 404’s others don’t
- Custom taxonomy template list not working (404)
- Custom post type permalink returns 404 when set to private
- Custom post type slug 404
- How to filter a custom post type by custom taxonomy without 404
- Custom Post 404
- Custom taxonomy template shows 404 Error
- Post type Permalink
- Custom post type categories gives 404 error
- Direct form to a custom page template
- Permalink Trouble with custom post types
- Permalinks not working (404) for the ‘item’ post type
- Custom Post Type Child Won’t Come Through With Pretty Permalinks
- Problem with custom loop navigation inside the blog page
- Can’t Export Custom Post Types With Export Tool In A Custom Theme
- Sudden 404 pages on product category archives
- Custom taxonomy returns 404 even with saving permalinks
- Show custom post status when logged out
- Custom post shows 404 after theme change
- How can I get custom post types to recognize pretty permalink variables?
- Enabling hierarchical in a Custom Post Type gives error 404
- Standard Page Child of CPT Not Found (404)
- Published page but it is page not found
- Pagination for custom query returns 404
- New entries to custom post type produce 404 on single view
- Custom Post Type slug and WPML gets 404 error
- Add new custom post type screen (admin area) results into 404
- Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post
- pre_get_posts gives 404 error on Custom Post
- Custom 404 redirect for a luddite
- WP gives 404 error for custom post type with GET variable
- 404 error next-page [2] PageNavi custom type taxonomy
- Custom Post Type Rewrite – Page Not Found
- What am I doing wrong with my taxonomy?
- Cannot use pages created on WP
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Pagination in custom loop for custom post type throwing 404 error
- 404 for children in hierarchical custom post type
- 404 with Custom Post Type
- How do I paginate a custom post type listing on a custom template page?
- WordPress custom post type post and category links 404
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Pagination on category pages using wp_pagenavi causes 404 errors
- Custom Post Type, 404 error
- How to debug a 404 error on pages whose content is perfectly displayed when I explore it?
- Single custom post type page redirect to 404 page
- Custom post type single page fine for admin, 404 from front