There are a number of reserved post type names in WordPress that you can’t overwrite. They can be found on the codex:
https://codex.wordpress.org/Function_Reference/register_post_type
‘post’ is one of them.
Related Posts:
- Remove subcategory slug from url
- How to allow WordPress to recognize a custom URL segment after a product URL and use a custom template?
- How to redirect image attachment to its original post
- Post pages are redirecting to the 404 page in wordpress
- Custom permalink structure only for default posts
- How to Group Posts by the First Letter or Number?
- Pretty URL with add_query_var
- get_permalink returns default link
- 404 error after publishing a post
- Why does rewrite rule work for page not for custom post type post?
- Some posts returning 404 instead of displaying post
- Custom post type single (permalink) throws a 404 error
- Unable to modify(update) posts – Page not found
- Debugging WP routing
- Custom Post Type rewrite rules not working, how to alter the rewrite order?
- PHP Notice error (when on 404 page)
- Getting a 404 error when clicking edit page
- Dynamically generate child-URLs for posts or custom posts
- URL Rewriting if it is a single post / redirecting post – post type
- 404 error- issues with pages after adding custom rules for posts
- add_rewrite_rules for type of post
- Changing Permalinks for Default Post type to reflect navigation
- 404 on paginated blog pages
- Custom Post Type – Category Rewrite – Remove Rewrite from Sitemap
- How to display content from the main blog on another from multisite network as it would be its own
- Why does my site often display 404 on subpages?
- Duplicate Custom Post Type and Taxonomy Slug
- Visting slug for ‘post’ post type shows 404 not archive?
- custom post template file not shown, instead all the time 404.php
- One post on my website is going to a 404 page
- How do I locate the exact location where this error is occurring 404 page not found
- Custom Post Type Rewrite To Include Parent Page(s)
- 404 error on default post type and default taxonomy fronted page
- How do I Redirect a WordPress Page?
- Problems with Page Not Found
- Disable WordPress Archive Conflict Check
- $_GET parametters not working in an specific template
- Posts and Pages: 404 Page not found
- Post-Archive like a page in a specific subdirectory
- If post does not exist, do something
- Custom Post Type, post-formats associated to custom post type > 404 archives
- add_rewrite_rule and template redirect not working
- Prevent 404 of Author pages without posts
- Add static text to post URLs
- My post permalinks are redirecting to the post archive page for some reason?
- Redirect empty search to another page
- How to add a ‘News’ section to specific posts in WordPress
- Add a url parameter to the current post and read it in a shortcode
- Why is there a 404 on page 2+ for my search page?
- Prevent Archive URLs
- Slug collision between page, taxonomy and custom post type
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- How to add category base prefix to wordpress permalink
- including 404 page in post page
- Multipage Post URL correction
- Fixing the WP Post Object for Custom Route
- Posts in Page – How to customize the URL?
- Use a custom post URL that is outside the blog root directory
- add_rewrite_rule is not fired
- 404 error on every post and page other than home
- Rewrite a specific Post Format to URL slug
- Get post title of faulty link on 404 error page
- Overwrite URL on blog posts
- Password-protected Posts lead to 404 Error
- Cannot Create a new Post [closed]
- Blog posts are not appearing as subs of Blog Page
- How to change url of posts?
- Redirection – bulk edit 404s to new tomain
- Post type gives 404 unless logged in
- Get WordPress post content by post id
- How to create custom URL routes?
- Get page ID of page that is set as the posts page
- How do you create a “virtual” page in WordPress
- Need help with add_rewrite_rule
- Get Posts Under Custom Taxonomy
- How to limit the number of posts that WP_Query gets?
- Stop WordPress Wrapping Images In A “P” Tag
- When is the ‘post_content_filtered’ column in database cleared by WordPress?
- Turn a URL into an Attachment / Post ID
- GET the excerpt by ID
- Stop WordPress automatically adding tags to post content
- Determine if page is the Posts Page
- How to get ‘post_content’ without stripping tags?
- remove “index.php” from permalinks
- How to add an admin notice upon post save/update
- Print Current Post Index number within Loop
- Should we trust the post globals?
- Optimize post insert and delete for bulk operations?
- Custom pages with plugin
- Get the Current Page Number
- How do you add thumbnail support for custom post types?
- How to mark every 3rd post
- Change Posts per page count
- Keep featured content post in homepage with original order
- Change the “page” slug in pagination
- How to display related posts from same category?
- Can posts have parents?
- Is there a action hook for the “Empty Trash” button?
- Understanding add_rewrite_rule
- How to end the excerpt with a sentence rather than a word?