Best 2 Know

The Ultimate Blogging Resource

  • Advertising
  • WebHosting
  • Contact Us
  • Blogger
    • Blogger Templates
    • Blogger Tutorials
  • Browser
    • Firefox
    • Google Chrome
  • Google
  • Internet
    • Facebook
    • Twitter
  • Thesis
  • Windows
  • WordPress
    • WordPress Themes
    • WordPress Plugins
  • More
    • Linux
    • Review
    • Solutions
    • Announcements

How to remove category from WordPress URL

when displaying Category URL in wordpress the wordpress adds the word ‘category’ in between the category and the site link eg : example.com/category/wordpress , has the word category is useless we can remove category word by simple trick.

Normally WordPress category links are displayed this way :

example.com/category/wordpress

The word category is useless in the link and acquires a space , we can remove that using a small change in .htaccess file. just add the below code in the .htaccess file :

RewriteRule ^category/(.+)$ http://example.com/$1 [R=301,L]

if you want to remove the word tag you can remove it by adding the below line of code to .htaccess :

RewriteRule ^tag/(.+)$ http://example.com/$1 [R=301,L]

Now Just save it.

Now your Permalinks will be changed, we have remove Category word and Tag word from the permalink

Subscribe via Email

Share this:

  • Twitter
  • Facebook
  • Pocket
  • Print
  • Email

Related

January 29, 2012 Ritesh Sanap WordPress .htaccess, Category, remove category, remove tag, Tricks, WordPress Tricks

Post navigation

Previous Previous post: How to automatically email contributors when theirs post is published
Next Next post: Alternate Table Row Color

Currently Trending

  • How to download Specific parts of YouTube videos
  • h4x0r ( Hacker ) - Blogger Template
  • How to Change the Welcome/Login Screen in Windows XP ?
  • Highlight Author Comment in Blogspot
  • How to Increase Dropbox upload speed
  • How To Change Windows XP Shutdown Dialog Box
  • Windows Vista CD key
  • Advanced What should we Write about next? - WordPress Plugin
  • A Great Magic Trick With Google - Fool your Friends

Random Posts

Samanta Blogger Template

November 30, 2010 By Ritesh Sanap Leave a Comment

We are back !

October 8, 2010 By Ritesh Sanap 10 Comments

Set More Than One Firefox Homepage

March 28, 2009 By Ritesh Sanap Leave a Comment

Hacking DSL Router

January 16, 2008 By Ritesh Sanap Leave a Comment

Facebook Like or Recommend Button For Blogger

May 24, 2010 By Ritesh Sanap 4 Comments

WordPress

HTTP2 Server Push for W3 Total Cache Minify plugin

August 17, 2016 By Ritesh Sanap 5 Comments

How to Disable Emojis in WordPress

January 6, 2016 By Ritesh Sanap Leave a Comment

JetPack Related posts and Sharing not working with NGINX

November 10, 2015 By Ritesh Sanap Leave a Comment

Simply Pure – WordPress Theme

November 2, 2014 By Ritesh Sanap 2 Comments

Advanced What should we Write about next? – WordPress Plugin

July 28, 2014 By Ritesh Sanap Leave a Comment

How to Disable Self Pingback or TrackBack

January 16, 2014 By Ritesh Sanap Leave a Comment

BlueStrap – WordPress Theme

January 1, 2014 By Ritesh Sanap 15 Comments

How to Create Multiple Excerpts in WordPress

December 24, 2013 By Ritesh Sanap Leave a Comment

How to Disable Auto Update in WordPress

November 21, 2013 By Ritesh Sanap Leave a Comment

How to Delete Feedbacks from JetPack Contact Form

November 19, 2013 By Ritesh Sanap 9 Comments

Recent Posts

  • HTTP2 Server Push for W3 Total Cache Minify plugin
  • How to show hidden files and folders in Mac OS X
  • How to Disable Emojis in WordPress
  • Canva – Online Photo Editor
  • JetPack Related posts and Sharing not working with NGINX

Archives

Recommends

  • DigitalOcean – Cloud Hosting
  • Dropbox – Cloud Storage
  • Elegant Themes – WordPress Themes
  • LastPass – Password Manager
  • Like us on Facebook
  • Follow on Twitter
  • +1 on Google
  • Subscribe via Email
  • RSS Feed

© 2022 Best 2 Know · All Rights Reserved · We ♥ DigitalOcean

loading Cancel
Post was not sent - check your email addresses!
Email check failed, please try again
Sorry, your blog cannot share posts by email.