For professional sites we want to remove category word from wordpress url. here we have short code which can be added in to .htaccess file. that will remove category form url slug.
remove category word from wordpress url
If you want to remove the /category/ word from your URL you need to use the following code.
If you are not wordpress developer and you are not having knowledge of apache server then dont use this code.
first take backup of your .htaccess file which you can find in your root folder of wordpress installation.
Put following code in that file.
RewriteRule ^category/(.+)$ http://www.yourblog.com/$1 [R=301,L]
After putting this code your URL will will be changed as follows:
http://yourblog.com/category/wordpressapi
to
http://yourblog.com/wordpressapi
Other Helpful link:
I did so much R&D about removing the category from wordpress permalink. You really saved my lot of time. Thanks.