1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Blogging' started by dentawor, Oct 15, 2014.

  1. dentawor

    dentawor Power Member

    Joined:
    Jul 16, 2011
    Messages:
    507
    Likes Received:
    73
    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
     
  2. mickyfu

    mickyfu Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 14, 2011
    Messages:
    5,279
    Likes Received:
    15,473
    Location:
    Jennifers Office.
    change your permalinks in wordpress settings to post name.
     
  3. dentawor

    dentawor Power Member

    Joined:
    Jul 16, 2011
    Messages:
    507
    Likes Received:
    73
    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)

     
  4. IceHD

    IceHD Jr. VIP Jr. VIP Premium Member

    Joined:
    May 8, 2013
    Messages:
    488
    Likes Received:
    199
    Occupation:
    SEO, SEM, HTML5&CSS3 Coder
    Location:
    Not Romania
    Try "WP No Category Base", the plugin will fix your issue.
     
  5. DomainManagement

    DomainManagement Newbie

    Joined:
    Apr 7, 2014
    Messages:
    8
    Likes Received:
    0
    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
     
  6. west555

    west555 Regular Member

    Joined:
    Dec 4, 2011
    Messages:
    326
    Likes Received:
    130
    Location:
    /etc/passwd

    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
     
  7. 1ksao

    1ksao Regular Member

    Joined:
    Jul 18, 2013
    Messages:
    209
    Likes Received:
    53
    Occupation:
    Full time Web Developer/SEO
    Location:
    Texas, baby.
    Under permalinks select "custom structure" and put this in "/%category%/%postname%/" minus quotations of course.
     
  8. Liquidmetal

    Liquidmetal Registered Member

    Joined:
    Apr 29, 2011
    Messages:
    88
    Likes Received:
    25
    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.