• drivenmg

    (@drivenmg)


    I’m not sure but for some reason or another I can’t get this to work.

    Here is an example of what i am TRYING to do:

    Tmobile
    -about
    -phones
    -plans

    Sprint
    -about
    -phones
    -plans

    but when i try to do the sprint/about – it will come up sprint/about-2

    It’s a different category and the ‘about’ is a post name. Do I need to just create “pages” or is there a work around for this?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • MichaelH

    (@michaelh)

    Categories, even sub-categories (category with parent), must be unique.

    Thread Starter drivenmg

    (@drivenmg)

    these aren’t sub-categories. These are pages (post) w/in unique categories.

    domain.com/category1/about

    domain.com/category2/about

    make sense?

    MichaelH

    (@michaelh)

    no

    Thread Starter drivenmg

    (@drivenmg)

    lol i’m using unique url’s for the permalinks so once again:

    domain.com/category1/about
    domain.com/category1/sales

    vs

    domain.com/category2/about
    domain.com/category2/sales

    to go a step further

    domain.com/category1/subcategory1/about
    domain.com/category1/subcategory1/sales

    vs

    domain.com/category2/subcategory2/about
    domain.com/category2/subcategory2/sales

    in BOTH “/about” and “/sales” are POST – they are “about” that particular category and UNDER that particular category.

    does that help?

    MichaelH

    (@michaelh)

    Okay got it.

    You may need to resort to using %post_id in your Permalinks to make each unique.

    As a note, some developers would recommend against using category based Permalinks, for performance reasons.

    Thread Starter drivenmg

    (@drivenmg)

    I’ll try it out. THANKS!

    On the 2nd part re: developers – how does it affect performance?

    btw thanks for all your help!

    MichaelH

    (@michaelh)

    how does it affect performance?

    Retards performance as it has to check database for rewrite rules. See this thread on the wp-testers email list: http://comox.textdrive.com/pipermail/wp-testers/2009-January/011097.html Quoting from Ryan Boren on that thread:
    “Verbose rules are used for structures beginning with %category%,
    %tag%, %postname%, and %author%. Avoiding such structures is best.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Same Post Name – Diff Category: Not Working’ is closed to new replies.