Remove Category Base From Permalinks

Wordpress Add comments


On line 371 of the wp-includes/rewrite.php file, you’ll see the code:

$this->category_structure = $this->front . ‘category/’;

Now just remove the “category” from the string, and the code should look like:

$this->category_structure = $this->front . ‘/’;

another way of doing that is by the following which worked for me so here we go…

Just enter /. as the value for Category base.


Leave a Reply

Entries RSS