Home » How To Remove The Category From URL In WordPress

How To Remove The Category From URL In WordPress

Last updated on December 24, 2020 by

Do you want to remove the category from the URL in WordPress? Do you want to change the URL from example.com/category/hello-world to example.com/hello-world?

It is very very simple to remove word category from the URL. Let’s do together.

Simplest steps to remove the category base from the URL

  1. Go to the Settings > Permalinks.
  2. Select the “Custom Structure” option from the Permalink Settings.
  3. Enter the /%category%/%postname%/ in “Custom Structure”.
  4. Then, set . (dot or period) into the Category Base from the Optional Settings.
Steps to remove category from url in wordpress

Great. You have done nice job so far.

Additionally, read our guide:

  1. How To Add Products Per Page Dropdown in WooCommerce
  2. “Sorry, your session has expired. Return to homepage” – WordPress WooCommerce Error
  3. How To Create a Plugin in WordPress from Scratch
  4. ERROR: Cookies are blocked or not supported by your browser
  5. How To Send Custom Emails in WordPress
  6. How To Allow Preview of Draft Post Without Login in WordPress
  7. Import Users From CSV In WordPress Programmatically
  8. WordPress Keeps Redirecting To wp-admin/install.php
  9. How To Change Custom Post Type Slug in WordPress
  10. How To Add Custom Column To Any Post Types in WordPress

This has been tested on many themes by our team. We hope this post helped you to remove the category from URL in WordPress.

Please let us know in the comments if everything worked as expected or your issues or any questions. If you think this article saved your time & money, please do comment, share, like & subscribe. Thank you for reading the post 🙂

 
 

Leave a Comment