Remove category slug wordpress from URL

How to remove category word from your WordPress URL

This pretty much old article and trick, shown, How to remove category word from your WordPress URL. Now these days many wordpress plugins aviable which will remove cateogry word from wordpress url.

How to remove category word from your WordPress URL

Open your .htaccess file. This file you will find in your root directory.

Just copy and past following code in that file.

RewriteRule ^category/(.+)$ http://images.purabtech.in/$1 [R=301,L]

Don’t forget to replace the purabtech.in/files/ to your site name.

Have fun!

Refer this Remove category slug wordpress from URL and Remove short words from wordpress permalink URL

Published by

Purab

I am Purab from India, Software development is my profession and teaching is my passion. Programmers blog dedicated to the JAVA, Python, PHP, DevOps and Opensource Frameworks. Purab's Github Repo Youtube Chanel Video Tutorials Connect to on LinkedIn

One thought on “How to remove category word from your WordPress URL”

Leave a Reply

Your email address will not be published.