You need to change your permalink structure from Plain to Post Name.
For that, Go to Settings > Permalinks
Related Posts:
- Add extra parameters after permalink?
- How to get post content by calling ajax?
- Get the ID of the latest post
- Change permalinks for posts but not for custom post types
- Custom permalinks – post type – hierarchical taxonomy’s
- Add extra parameters after permalink?
- Quickest way to get last or oldest post date – WP Query
- Automaticly add slug to posts
- Shortcode for display posts on home page show only one post
- Add custom post type settings to wordress default posts
- Permalink misbehaving in Custom Post Types
- Check post on publish for blank title
- Reworking function for counting custom post type posts count
- How to Make infinite loop of post
- How to implement a different permalink structure for custom post type?
- How to setup different permlalinks for posts and pages?
- Adding /blog in front of single posts (only)
- How to mass get post editor URLs
- Get_post_custom not fetching value from array wordpress
- add all blog posts to folder
- Limiting the Number of User Posts to Their Own Posts
- Permalink for specific post type
- News post with multiple permalinks? When opened from different page
- Creating custom post type relationships
- Links Image in “Catalog” Page to Posts
- Get post from Category by Priority
- Popup panel is only displaying 1 entry ignoring all others
- How to create content automatically when a post is published?
- Custom Post Type permalink not working on new posts
- Custom Post Type children and grand-children in one list
- How do I display the index position of a post from a custom post type?
- Change permalinks for posts but not custom post type?
- Display posts from another page on home page in wp-editor
- Wp-theme Development
- button onclick with get_post_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
- Show the same Article Available in Other Categories
- Getting posts under the custom post type ui category
- Add archive slug to default post post type
- Custom Post type and permalink settings
- Storing posts from query and accessing later via AJAX call
- If post has custom field then display css-class
- Custom rewrite rule for hierarchical custom post type
- Display only one post each WEEK
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- List children on child post
- Display all post titles of current post type
- Display content based on a users login
- Restrict custom post type from appearing with ?post_types=
- Show custom post type filtered by category
- add category name to permalinks on product page /category-name/product-name
- create parent post using wp_insert_post
- Turn on and off custom post type from admin?
- Use menus with anchors
- Missing Posts in Custom Taxonomy List
- Custom Post Type permalink shows wrong page: homepage/index.php
- WordPress not opening posts with only numbers if permalink is post_name
- Get term name and term parent into custom post type permalink
- Display random posts, but omit the post it is on?
- WordPress add_permastruct unwanted matches
- Rewrite rules for custom posts types
- How do I do this with WordPress? Taxonomies?
- Permalink structure by Post Meta value
- Disable block with taxonomies at post page
- I would like to have different styles for my posts based on the content of each post
- Does WordPress consider a post name unique if that same post name is in multiple Post Types?
- How can i add thumbnails images to particular post (using code not admin pannel) in wordpress
- Why doesn’t a custom post type permalink ever hit index.php
- Showing posts from different categories and from custom post type
- Get latest 3 posts from multiple CPT in one query
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Which post does a taxonomy term belongs to?
- How to hook custom taxonomies to custom post types and make the permalinks work?
- custom post type parsed as attachment
- List custom taxonomy specific to one custom post type
- Post image in WordPress not appearing on home page
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- 404 Issue w/ Custom Post Type – using Meta for Permalink rewrite
- Meta query for custom post type ignored in main query
- Changing custom type name hides the posts
- WordPress Custom Post Type Repeated 404 Errors
- Child post with numeric only slug keeps redirecting to parent
- Display Ad on Specific Categories
- How to change custom post type permalink structure
- Custom post type url with category
- Help with Elementor Pagination CPT archive 404 problem
- Hiding posts by other users and non-logged in
- Adding custom post category slug in permalink causes 404 error for pages and posts
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- Allow post/page hierarchy across different post types?
- Update Post Meta for a logged in user
- Permalink for a custom post type isn’t working and I don’t know why
- Add custom field to Posts and sort by it
- Can’t get custom rewrite tag, query var, permastruct (permalink structure), and rewrite rule to work properly together
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- WordPress Custom Post Type Permalinks dynamic term slugs
- How to have the same url structure for both a CPT and a Taxonomy?