WordPress.org

Ready to get started?Download WordPress

Forums

Permalink question (4 posts)

  1. Adam
    Member
    Posted 1 year ago #

    So I have my permalink set up as:

    /%category%/%postname%/

    which displays: site.com/category_name/post_name when I want:
    site.com/category/category_name/post_name

    ideas?

  2. fonglh
    Member
    Posted 1 year ago #

    How about /category/%category%/%postname%/

    I haven't tested that though.

  3. SNSD Photo
    Member
    Posted 1 year ago #

    /category/%category%/%postname%/

    then for category area it will be.

    category/category/%cat_name%/

    also tags, author, archive (daily, monthly, etc).

    works properly on posts and pages but above

  4. Adam
    Member
    Posted 1 year ago #

    this works except it breaks my custom post types.

    So i have something like:

    /category/%category%/%postname%/

    but when it comes to custom post types I get

    /category/custom_post_type/post_name

    and it breaks only for custom post types. - ideas?

    it, the custom post types, work if its /%category%/%postname%/ but then it fails at pagnation as I get a 404 on /category_name/post_name/page/2 but I don't on /category/category_name/post_name....

    if that made sense.

Topic Closed

This topic has been closed to new replies.

About this Topic