• Hello,

    I would like to use the category base in the custom permalink but somehow wordpress gives a 404 for all post pages. This only occurs because the exact category base is used inside the permalink structure. If I change the permalink to e.g. /w/%category%/%postname%, no problemo.

    My category base is: /work
    My custom permalink is: /work/%category%/%postname%

    Any ideas how I can get this to all work together? Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • So the custom permalink would end up being…

    /work/work/post-name-here/ ?

    Seems redundant.

    why not just do..

    /%category%/%postname%/ instead?

    Thread Starter bencavens

    (@bencavens)

    The goal is to get a userfriendly structure of the url segments. Itshould behave as a tree hierarchy where the segment to the right is a level deeper into the sitemap.

    /work points to a custom overviewpage of all projects

    /work/%category% points to a specific client
    (We use categories as the clientlist). e.g. /work/nike or /work/coca-cola-company. For this to work I use /work/ as a category base.

    /work/%category%/%postname% goes to a specific project. This is where the problem lies whereas /work/ in both category base as in the permalink doesn’t seem to be allowed.
    e.g. /work/nike/billboard-advertisments-time-square
    /work/coca-cola-company/promo-campaign-summer-2012

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using Category base in permalink’ is closed to new replies.