How to set the Category or Tag URL base WordPress ?

You can set Category or Tags in URL base using Permalinks menu setting on the WordPress dashboard. Permalinks menu setting determines how the URL will look in your website. So changing Permalinks setting you can achieve Category or Tag in URL base.

If you looking for URL structure like

http://domain.com/category/postname

or

http://domain.com/tag/postname

 

Follow the  2 simple steps to set Category or Tag in URL base WordPress-

    1. Go to WordPress dashboard click Setting => Permalink
    2. Permalink Setting page select Custom Structure and enter below tag
      • For Category- /%category%/%postname%/

 

How to set the Category or Tag URL base WordPress

 

If you want to add custom text blog in Category or Tag in URL like http://domain.com/blog/category_name or http://domain.com/blog/tag_name then go to

  1. Go to WordPress dashboard click Setting => Permalink
  2. Permalink Setting scroll down until you see the Optional section
    • For Category- enter custom text in the Category base option
    • For tag- enter custom text in the tag base option

Note:
Changing your website permalinks settings can seriously impact your SEO visibility.  It should almost never be done on a live website.