WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Category permalinks (5 posts)

  1. jamesbe
    Member
    Posted 6 years ago #

    Hi, I'm having a problem with my categories and permalinks. Well perhaps not a problem perhaps I just don't understand how to do this.

    I have a couple of categories.
    General News
    Green News

    My permalink structure is setup so that my posts look like
    url/blog/year/month/day/post-slug.htm

    Say the post is under category green-news, I would like all that news to show up under
    url/blog/green-news

    Here is an actual link to my site.
    http://www.canadiandriver.com/thenews/2008/04/22/plug-in-hybrid-study-to-be-launched-in-quebec.htm

    The above link goes to a post that is part of both "general-news" and "green-news" but when going to:
    http://www.canadiandriver.com/thenews/general-news I get a 404 page.

    What am I missing here? Thanks for any help!

  2. jamesbe
    Member
    Posted 6 years ago #

    Nevermind I figured it out, but it puts it in category/general-news and I see I can change the name to something like topics/general-news.

    But is it possible to remove the "category" and just have /general-news?

  3. jamesbe
    Member
    Posted 6 years ago #

    oops.

  4. jamesbe
    Member
    Posted 6 years ago #

    While I'm asking, when you make a template for a category is it category-6.php (id number 6) or is it category-green-news.php (green-news being name of category), or is it green-news.php ?

  5. scribu
    Member
    Posted 6 years ago #

    To remove the category base, see this topic. As for the category-template, it is category-6.php

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.