Remove category base prefix from URLs in WordPress?

By default, category URLs in WordPress contain a prefix, usually /category/.
Example: http://example.com/category/wordpress.
Here /category/ is called category prefix or base.

Category URL after removing the prefix is http://example.com/wordpress

Many believe that removing category base adds SEO benefits

  • Short and better URLs.
  • Better user experience. Easy to parse, copy and paste

Follow below simple steps to remove category base using Yoast SEO plugin

Steps to remove category base prefix

  1. Login to your wordpress site
  2. Goto Dash Board -> SEO -> Search Appearanceyoast seo search appearance feature in wordpress
  3. Goto Category URLs section, Select Remove and Click on Save Changesremove category prefix option in yoast seo

    WordPress: Change Category or Tag base URL prefix?

About the Author

SRINI S

A passionate blogger. Love to share solutions and best practices on wordpress hosting, issues and fixes, excel VBA macros and other apps