How to remove category from WordPress URL
when displaying Category URL in wordpress the wordpress adds the word ‘category’ in between the category and the site link eg : example.com/category/wordpress , has the word category is useless we can remove category word by simple trick.
The word category is useless in the link and acquires a space , we can remove that using a small change in .htaccess file. just add the below code in the .htaccess file :
RewriteRule ^category/(.+)$ http://example.com/$1 [R=301,L]
if you want to remove the word tag you can remove it by adding the below line of code to .htaccess :
RewriteRule ^tag/(.+)$ http://example.com/$1 [R=301,L]
Now Just save it.
Now your Permalinks will be changed, we have remove Category word and Tag word from the permalink