To remove category from your URL do:
- Go to Setting > Permalinks
- Select Custom Structure
- Add /%category%/%postname%/ after your domain
- Change Category Base to period/dot.
Read this blog https://jonnyjordan.com/blog/how-to-remove-category-from-your-urls-in-wordpress/
Related Posts:
- Get posts for custom post type with WP_Query
- Custom Post Type Data in Sidebar widgets?
- Custom Post Type Permalink / Rewrite not working immediately
- How to add custom content template part for a custom post type on main query using a plugin
- Unregister post type from child theme
- Custom Post Type With Different Views
- How to get term link that crosses different custom post types?
- Custom post type Admin Page
- Enforcing canonical URLs with multiple custom post types
- How to set individual capabilities on a taxonomy? Or how to re-register an existing taxonomy?
- Set post title from two meta fields
- Where to put archive-{post-type}.php
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Using Custom Templates for Custom Post Types for the Genesis Theme Framework?
- WordPress custom post type category pagination 404 Error
- Custom-Taxonomy as categories: Remove “most-used” tab?
- Custom Permalinks for Custom Post Types and Taxonomies
- Custom Taxonomy order by Custom Field
- Custom post types – non-visible title and how it affects URL
- Limit search form to 4 custom post types only
- “More” span making trouble
- Single Post Pages for Custom Post Types
- Show ACF field from custom taxonomy and display on the single template
- Add Content Exclusively to a Custom Post Type Feed
- How to rename image at uploading on specific plugin or post-type in WordPress
- ‘Pages’ widget alternative for custom post types?
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Loop on front-page.php
- How to insert multiple images into a single post within a CPT
- How to create a json API for my custom post type
- Display custom post type in hierarchical order with get_terms
- the_title filter returning wrong post type
- Parent field missing from custom post type in the block editor
- Am unable to reset a query properly
- Custom posts don’t work
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- allow BOTH post slug and meta key value in permalink for custom post type
- A simple script to allow sorting of custom posts in admin?
- Is it possible to create relational metabox values in a custom post?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- URL rewrite add author as base
- filter custom post in rest api with custom function
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- Update database from Quick Edit according to Checkbox state of Custom Post Type
- Custom Post Type slug same as page name
- manage_edit-{post_type}_sortable_columns sorts, but wrong!
- Custom Post Type Pagination Paginates Only in URL Structure
- Is there any way to add a “custom field” to the CPT archive page?
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Ordering custom post type by multiple custom fields
- Detect inside a custom query the kind of post type to assign custom classes
- Check if post with same meta value exists
- Pros and cons of a custom page vs custom post type template file
- Do posts, pages and / or custom post type objects have unique ID numbers or can there be multiple objects with the same IDs?
- Recoverable Fatal Error – Object of class WP_Post could not be converted to string
- Running a song lyrics site on WordPress
- Getting all ID’s matching a title in a custom post type
- How can i add multiple variable to a !== query
- Topic won’t save for a custom post type — how to debug?
- How to Create a Separate Page for Blog Posts in WordPress
- Migrating Hierarchal Taxonomy Categories Between Post Types
- Advanced custom fields Post Object image field not displaying in custom post type single.php
- Override Plugin Custom Post Type ‘single’ view
- How do I display child post types in the parent post type template
- shopping cart plugin development
- Add Extra Category Field to CPT Categories
- Use different categories for a custom post
- Why does my URL keep returning 404 error code?
- How to hide a custom post type
- Wp PageNavi only works with default permalinks on a custom post type?
- Custom category URL not displaying posts
- Multiple Stylesheets For Post and post type?
- Slow CPT in backend
- How best to structure multiple CPTs and tax within a ‘resources’ section
- Query posts by current ACF meta key value on single page as related posts
- Cannot modify header information – header already sent (CPT related)
- Display all posts from specific category and CPT
- wp_dropdown_pages doesn’t allow me to select more than one custom post type
- Override “Parent” input for custom taxonomy
- How to develop custom URL redirection
- Custom post type with Filter and Page Nav
- Custom Post Type Archive Links Not Working
- Custom Post Type Categories Not Maintaining URL structure any more
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Why is this custom post type defaulting to archive.php?
- Custom Post Types and Child Themes!
- Check if taxonomy is attached to at least one post in a post-type
- Custom post types permalinks not working
- How do I ensure custom post type information is displayed in correct order?
- Tag-post relationship problem
- Rewrite rules for using the same base slug for multiple content types
- Custom Post type as Taxonomy
- Getting 404.php instead of single-.php [duplicate]
- How to manage wordpress knowledge base/wiki/posts collections
- Display div based on Group metabox selection [closed]
- add_rewrite_rule not working in Custom Post Type UI Plugin
- I want to understand plugin implementation of custom posts / taxonomies / metaboxes
- Issue displaying multiple TinyMCE editors with WPAlchemy
- using jetbooking for multiple custom post types