There is an option for adding custom structure you can select the checkbox and Permalink is generated like this example.com/article2. and there is also a product permalink that is also customizable.
Edit
There is an option for setting permalink in WordPress setting you can select “post name” check box for getting only post name in URL and create custom permalink.
and also visit this page for more information https://wordpress.org/support/article/settings-permalinks-screen/
Related Posts:
- Multiple post categories – single permalink
- Exclude subcategories from the url
- Plural Category Base Slug On Category Archive Page
- Add “page-a” slug to category link if user visit category link from “page-a”
- Remove subcategory and category with some rules from permalink
- How do I add a tag slug to a category URL to filter posts?
- How to remove category name for only one category?
- hierarchical taxonomy in permalinks? using same slug
- Posts URL structure like site.com/category/the-post-title
- How to get permalinks with category base working with sub-categories
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Filtering categories in the permalink structure
- How do I use the same post slug for different Categories?
- Rewrite rule page url with category
- How to create a custom url for a category [closed]
- Add forward slash on categories url (serve one version of a url)
- Rewrite category wordpress
- Categories’ hierarchy in URL
- How to create non-unique sub-category slugs?
- Rewrite category slug
- Changing the category permalink structure
- 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
- WooCommerce change category url and product base
- Duplicate Category and Page URL loads Category instead of the Page
- How to set up Author archives with sub category URL
- Using a portfolio_category slug in wordpress URL
- force category base – archive pages work WITH & WITHOUT category base slug in url?
- Rewrite a category
- How do I get rid of “category” from my URL structure?
- One Specific Category To Permalink
- wordpress sub-category ( lowercase letters + non-latin characters ) = 404
- The default code for “posts_nav_link” on category.php isn’t working
- Read GET parameters in APACHE Mod Rewrite rules for WordPress categories in Posts
- Mod_Rewrite to show only last subcategory in URL
- 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
- Custom category URL rewriting
- Hierarchical permalink structure for posts showing categories and sub-categories
- Use the category name instead of category slug in permalinks
- Change of category structure will cause two kinds of URLs for one post
- Bulk append URL (add word to slug)
- Category URL Management
- Include specific category in URL automatically
- Using custom structure prefix showing 404 for sub-categories
- Allow two posts (from different categories) to have the same slug
- How to set the same base url for two different taxonomies?
- Category URL’s 404 after setting category base to ‘.’
- Include a page’s “category” in its URL
- How to add a ‘News’ section to specific posts in WordPress
- Remove “category” from permalink with add_rewrite_rule
- Change the full slug for a specific category?
- WordPress Category url redirects to subdomain
- Accessible Subcategory URL’s pages without using .php hack
- Hide category name using mod_rewrite
- Get full control over custom post type url
- Catch 404 after changing permalink structure from /%postname%/ to /%category%/%postname%/
- Create monthly archive for parent category
- Modify / Rewrite single template 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
- How to get category slug link? ( include parent categories)
- Remove “?category=” in the URL wordpress ajax filter work for category
- How to add custom prefix before category base for category page URL?
- How to remove the term “category” from category pagination?
- Use category base slug in posts’ permalink
- Category archive by year with permalink support /category/YYYY
- Force WordPress to Show Pages Instead of Category
- How do I get the category URL from get_the_category?
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- Handle category name URL rewrite before different post type slugs
- How to control which category will be picked for the slug of a post?
- Create terms when registering taxonomy?
- Add category to custom post type automatically, using category slug
- New categories are now going to 404s
- Custom Category/Subcategory structure
- “Reversable” and “Re-useable” Subcategories (or other taxonomic structure)
- Default category link for a custom category is a broken link
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Possible to make a subdirectory that loops through a single category?
- Change blog segment of URL
- Share same Slug for a Custom Post Type and 2 Taxonomies
- Categories showing page not found
- Create custom permalinks to show Custom Post Type’s relationship?
- Older entries link within category page
- How can you change the permalink for pages?
- Get posts from specific taxonomy term
- How to remove one specific category (uncategorized) from post permalinks
- How do I retrieve the category ID (ugly permalinks) in my sub-navigation menu?
- How to link a PDF file to a category URL
- Is this process OK to replace URL structure?
- Subcategory Page 404ing
- Prevent Archive URLs
- Category and tag urls return 404 error
- How to auto update post title and slug with category name when post status is updated
- Group Posts by First Letter of Title categories
- Changing Permalinks for Category Pages Only
- Custom permalinks structure
- Remove /category/ from category (archive) page URLs (without using a plugin)