Remove Category Base from WordPress Category URL

Tags: , , ,

I fished around the internet for a solution to this, tried a plugin or two to remove the /category/ from wordpress url’s.

While some of these plugins are good, the category link still display’s /category/.

Also I’ve tried putting in ./ in the category base options in permalinks settings.

Does anyone know how I could do like a php search and replace or something like that?

Answer and it doesn’t alter permalinks, so removing it reverts the structure with no problem. And you don’t have to alter core files.

Source: stackoverflow