Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter cmurockstar

    (@cmurockstar)

    PS. When I disable your plugin, go BACK to Settings->Permalink, reload it, then re-save it, all my old links then work. Clearly, something is not working correctly when you save the settings on the permalinks settings page.

    Thread Starter cmurockstar

    (@cmurockstar)

    (and i have to disable/renable the custom post type plugin I am using)

    Thread Starter cmurockstar

    (@cmurockstar)

    Though i think it takes a while for all the links to get re-established.

    Can you please take a look at this bug.

    Plugin Author J B

    (@johnpbloch)

    What is your permalink structure? If I had to guess, I’d say it’s just the slug. If so, that’s not anything I can fix. You’ll have to differentiate your permalinks somehow. Most people do this by prefixing the permalink structure with the post type.

    Thread Starter cmurockstar

    (@cmurockstar)

    You are right, I was using the same structure as I was using for the rest of my site. Now when I use /foo/[permalink i wanted] it works.

    Thanks!

    Plugin Author J B

    (@johnpbloch)

    No problem!

    Seem to be having a similar scenario to cmurockstar.

    Started work on a site, had two pages already created and built (/contact/ and /about/), then went to work on two C.P.T’s. I’ve got Clients (/clients/%clients%/ – normal) and I’ve got Events (/%category%/%event%/ – category-based)…using this plugin to re-write the Event URL.

    Now my C.P.T’s are working as intended, but my pages are now broken (404). I need to retain nice URL’s (/contact), so putting /page/contact isn’t really an option.

    Any help / tips / advice will be greatly appreciated.

    Plugin Author J B

    (@johnpbloch)

    You can’t put categories first on CPTs. Like I keep saying: you have to differentiate your permalinks with a non-wildcard (post type, year, month, day, or non-rewrite-tag plain text) beginning. WordPress’ rewrite engine, for better or worse, does not support what you are trying to do. Period.

    Hi John,

    Cheers for the explanation.

    I ended up putting an ‘events’ prefix on the Events C.P.T re-write in order to differentiate it from the normals.

    Weird thing is, I’m using a ‘No Category Base’ plug-in to strip the normal pre-fix of ‘category/’, and it has stripped out the ‘event/’ too! So I’ve actually managed to get what I initially intended!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Custom Post Permalinks] Hierarchical Page Permalinks No Longer Work’ is closed to new replies.