How to remove category from wordpress url

WordPress anvar

If you want to take the “category” base term out of your URL –
turning wordpress.org/category/news  into wordpress.org/news ?

It’s easy to do. You can  set it from the permalinks settings. set your permalinks to/%category%/%postname%/ and then put a period/dot into the Category base form.

Go to Settings > Permalinks and set it up as follows.

Remove category from wordpress url anvar

Remove category from wordpress url