Remove Category or Tag Slug from url


A client asked me in ThemeForest comments that how to remove category slug in URL of WordPress blog installation. I researched a bit and found a very helpful article on http://premium.wpmudev.org/. I am writing short version below.

My client tried some plugins, but none of those worked for him and myself so do not waste your time on plugins and try this two steps trick given below. Go to permalink settings and follow these steps.

  1. Put “/%category%/%postname%/ ” in Custom Structure radio option field.
  2. Put a dot ” . ” in Category Base option field.

2015-07-25_0101

Save your permalink settings (do it twice if it doesn’t work), and it’s done.

It is working up to WordPress version 4.2.3 as I have checked.

You may also like

LEAVE A COMMENT

@wiseguy112 میں بھی کہوں ان کی شکلیں کیوں نہیں ملتی آپس میں۔

@SSEHBAI1 @CMShehbaz His elder brother kind may be!

@nadia_a_mirza I believe that You have not chosen that for anyone but Allah. So don't bother answering stupid peopl… https://t.co/wIVIFHfvGx

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

affiliate_link

Categories