How to change or remove "category" in WP? Help Please..

dentawor

Power Member
Joined
Jul 16, 2011
Messages
514
Reaction score
75
I am building a website where there will be several categories and sub categories.

For example the Niche is home decoration
In WordPress custom permalink setting you are only allowed to do like this:

www.domainname.com/category/kitchen (main category : kitchen)
www.domainname.com/category/kitchen/coffee-makers (subcategory : coffee-makers)

How to make it like this :

www.domainname.com/kitchen (main category : kitchen)
www.domainname.com/kitchen/coffee-makers (subcategory : coffee-makers)

How to remove or change the category into the main category straight away?

Thanks for helping
 
change your permalinks in wordpress settings to post name.
 
I don't think the post name is the issue here.
Each of my post URL will be like this for sure www.domainname.com/post-name

What I want to do is to cut the "category" and change it straight away to the "main category" ("kitchen" for example)

change your permalinks in wordpress settings to post name.
 
Try "WP No Category Base", the plugin will fix your issue.
 
Hello, I saw your reply to the content writer position, could you send me your email so I can send over the salary and other info and we can discuss further, cheers
 
I am building a website where there will be several categories and sub categories.

For example the Niche is home decoration
In WordPress custom permalink setting you are only allowed to do like this:

www.domainname.com/category/kitchen (main category : kitchen)
www.domainname.com/category/kitchen/coffee-makers (subcategory : coffee-makers)


The Way you posted it here looks like "kitchen" is not main category as you say, but subcategory of "category"
so you actually have

http://www.domainname.com/category/subcategory_of_category/coffee-makers

Check that in your wp maybe you made mistake there
 
Under permalinks select "custom structure" and put this in "/%category%/%postname%/" minus quotations of course.
 
Yeah plugins can solve that like icehd said, you can also use wordpress seo plugin from yoast and it has an option to strip category, that is good so you don't need to use several plugins but just one to solve a lot of issues.
 
Back
Top