Yes, any of those are possible and configurable under Settings > Permalinks
. Have a look at the Permalinks page for other possibilities.
One thing to note though, it’s suggested to add a number at the beginning of your permalinks to reduce the number of rewrite rules WordPress has to generate to resolve all of your URLs.
The permalink strings for your examples would be:
/%category%/%postname%
/%category%/%post_id%
/%category%/%post_id%/%postname%
Related Posts:
- Add forward slash on categories url (serve one version of a url)
- Multiple post categories – single permalink
- Rewrite category wordpress
- Exclude subcategories from the url
- Add “page-a” slug to category link if user visit category link from “page-a”
- Rewrite a category
- How do I get rid of “category” from my URL structure?
- Remove subcategory and category with some rules from permalink
- Custom category URL rewriting
- How do I add a tag slug to a category URL to filter posts?
- Include specific category in URL automatically
- A different permalink structure for different categories
- Modify / Rewrite single template url structure
- How to get permalinks with category base working with sub-categories
- How to remove the term “category” from category pagination?
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Filtering categories in the permalink structure
- What’s the URL for a category archive?
- Rewrite rule page url with category
- How to create a custom url for a category [closed]
- Preventing index.php?category_name=something from redirecting
- how to use a different domain/subdomain for authors/catagories on single site?
- Using URL parameters, list posts from category and custom taxonomy
- Custom post types with their own permalink structure
- Categories’ hierarchy in URL
- Category and tag with same name
- How to create non-unique sub-category slugs?
- Rewrite category slug
- Changing the category permalink structure
- How to? Redirect /category/sci-fi/ to /category/scifi/?
- How to Include the Parent and Child Category in the Permalink if the Post is Added to Both
- How to display only the parent category in the permalink
- Page with the same name of a category
- Plural Category Base Slug On Category Archive Page
- WooCommerce change category url and product base
- Custom Category/Subcategory structure
- One WP install, I need to map a custom domain name to each category
- How to show in search results posts with a particular tag in a particular category?
- “Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
- Categories not working – 404 Not found error
- How to set up Author archives with sub category URL
- Using a portfolio_category slug in wordpress URL
- Viewing category pages without the word ‘category’ in URL
- force category base – archive pages work WITH & WITHOUT category base slug in url?
- One Specific Category To Permalink
- How to change category and year archive permalinks/rewrite rules?
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- Add /category/ to an author archive page
- How do I toggle pagination on/off in search results and category listings via a link?
- Permalinks: display just one kind of wp category in the posts url
- Multiple URL’s based on category for one post
- WordPress URL Rewrite for dynamic and customized URL
- Flat category URLs but retaining hierarchy?
- category url structure
- menu using category and tags
- Have multiple category queries from the URL been fixed yet?
- Hierarchical permalink structure for posts showing categories and sub-categories
- Nicer URL for viewing category of posts?
- Change of category structure will cause two kinds of URLs for one post
- Getting back a permalink from custom url
- Custom Post Type Category URL
- What Must to Display the “mysite.com/category” URL?
- How to link a PDF file to a category URL
- Custom url structure – pages under a custom post type
- Category URL Management
- Redirect Problems with Archive Page and GET variables
- Global navigation in multisite: problem with categories
- WooCommerce Product category can be shown with multiple related URLs
- remove url from categories
- Using custom structure prefix showing 404 for sub-categories
- Add custom categories and subcategories and posts as custom pages
- How to remove category name for only one category?
- How to set the same base url for two different taxonomies?
- Is this process OK to replace URL structure?
- Can a Woocommerce product category URL contain “&”?
- How to remove parent category from child category url using wordpress rewrite rule?
- Category page 404s on mobile but not desktop?
- Category URL’s 404 after setting category base to ‘.’
- How to add a ‘News’ section to specific posts in WordPress
- How do I rewrite a single category link to point to a custom page?
- Remove “category” from permalink with add_rewrite_rule
- Change the full slug for a specific category?
- Post url rewriting for posts with certain category
- Category and tag urls return 404 error
- WordPress Category url redirects to subdomain
- Accessible Subcategory URL’s pages without using .php hack
- Hide category name using mod_rewrite
- Hide category name in URL
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Create monthly archive for parent category
- hierarchical taxonomy in permalinks? using same slug
- Customize category URL
- What approach should I take for this URL structure?
- How can I get rid of the the category suffix–NOT “prefix” (i.e. foo-1, foo-2, etc)
- Multiple Parent Category URLs
- Remove “?category=” in the URL wordpress ajax filter work for category
- wordpress category rewrite rule with pagination
- Link to a specifc category?
- How to create an automatic MultiColoumn MegaMenu with Categories WordPress
- Is There a Difference Between Taxonomies and Categories?