You can follow three steps for solution
1) Go to settings > permalinks
and change the permalink as plane or default then save it.
2) Now Go to your site home page and refresh your home page. Now check the category pages.
3) Now go again settings > permalinks
and now change it /%category%/%postname%/
And now go to home page refresh it and check your category pages
Hop it’ll help you.
Related Posts:
- Regex problem in an add_rewrite_rule
- custom taxonomy archive by year
- CPT Archive with core Category
- wp_list_categories() – current-cat class also inside posts?
- Custom Post Type and Category Base Rewrite Issue
- Custom Post Type Category URL
- Customize category URL
- 404 Issue w/ Custom Post Type – using Meta for Permalink rewrite
- Get Taxonomy Term Title by it’s URL
- Taxonomy custom post type URL
- How to change custom post type permalink structure
- PHP variable not regenerating when publishing multiple posts at the same time
- Front custom edit post page for each post
- Adding custom post category slug in permalink causes 404 error for pages and posts
- Categories of Custom Post throws gives 404
- How can I use get_post_meta with add_rewrite_rule to build custom permalinks?
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- Multiple level category drop-down from the WordPress dashboard
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- Can’t get custom rewrite tag, query var, permastruct (permalink structure), and rewrite rule to work properly together
- Add custom post type settings to wordress default posts
- 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
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- Custom rewrite url category
- Rewrite Question Mark in Post Template to Make it Pretty URL
- Hide parent categories when clicked, and show it’s childs
- Limit amount of posts made within a custom taxonomy
- How can achieve this permalink perfectly? domain.com/%category%/%post-name%
- Problem with displaying posts in the CPT category
- Filter CPT posts by one or more categories
- Getting categories of posts under a custom taxonomy
- Index page with the same id as the slug
- Custom Post Types with a common category for a blog listing
- How can I make the slug of the taxonomy also the slug of the custom post
- Can’t remove front from permalinks for custom taxonomy category page
- How to get categories linked in posts for a specific post type
- WordPress custom post type permalink rewrite shows page not found
- Using taxonomy term in CPT permalink – Pages 404’s
- Custom post type, organized by categories
- How to display “Category and Post_tag” component in a CPT Gutenberg edit screen?
- How to add rewrite rule to custom post type with parent in url with cpt ui?
- Custom post type as home page with custom url
- Customize Custom Post Type URL
- How to rewrite url for any specific taxonomy?
- Custom post URL 404 error
- Programmatically rewriting slug through functions.php but returns 404
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- URL rewrite add author as base
- Remove CPT name from permalink but add %category% instead
- Set a checkmark in a category based on a URL-parameter
- Custom Permalink to remove category word , keeping posts permalink with date?
- WP Query with categories only shows one post and ignores the category
- Set a CPT slug as a base name for all the taxonomies
- Custom taxonomy rewrite with query var returns %2F in URL
- WP Rewrite Rule Issue while using Custom post type & taxonomy
- Adding custom post type to count in category
- Remove slug in URL custom post type
- Custom Permalinks with CPT and Hierarchical Taxonomies
- Rewrite custom post type url – Multiple post types
- How to edit this code to get the categories in achieve page?
- Category with post type pagination returns 404
- Why isn’t my custom post type archive URL translating?
- Versioned Custom Post Type (Not the same as revisions)
- Rewrites/query for multiple hierarchical custom post types
- Get the category from custom post type
- WordPress custom post type split into pages
- Post injections into Site Origins Page builder [closed]
- cpt and page sharing same base permalink
- Custom Post Type + Categories
- WordPress uses url different from defined in rewrite arg of custom post type
- How to create a gallery page with categories?
- Rewrite URL of Custom Post Type for Jobs
- Custom post Type, child of a Page?
- Custom Post Slug same as Parents Category Slug
- Hide or disallow default custom post type url?
- URL rewriting for CTP assigned entity
- WordPress posts page for customer filtering and sorting along with category filter
- I am having Trouble to get list of Categories of Custom post Type
- Hierarchy and access control for Custom Post Types (CPT)
- Multiple (two) category postings on the same page.
- Loop filtering Custom Post Types and/or Categories
- Post Type rewrite rule to point to custom Page/template
- School & class blogs: Categorize with categories or custom posts?
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom post type and category link together
- Custom taxonomy returns 404
- Why is my category template ignoring post type?
- Best method to make posts searchable, sortable and filterable – custom field, tag or category?
- How to get custom posts sub category link
- Not sure if I should create multiple custom post type [closed]
- Cross reference custom post types
- Including taxonomy term before post type breaks top level pages
- Correct procedure for advanced permalinks
- Custom Post Types hierarchy and rewrite
- Make a custom_post translatable
- Pre-selecting the category for a custom post type
- CPT’s with landing page instead of archive – Url Rewrite?
- How to get list of taxonomy slugs ordered parents>childs?
- Rewrite rule for Custom Post Type Page as a parent