[wp-hackers] SPecial permalink

Stefano Aglietti steagl4ml at gmail.com
Wed Oct 6 12:28:17 UTC 2010

I want to have main category (not childs) listed in permalink for single
post, I'm gettin a bit mad cause a plugin i found didnt' wok well and throw
tons of 404, I wanna add a new tgs %MAINCAT% to put in permalink structure
that give as result

www.blogname.com/maincat-slug/post-title/P9999/ (where post-title/P9999 is
the actual structure /%postname%/P%post_id%/)

Any help and suggestion? I'm getting mad with rewrite rules and stuff with
no luck...

PS I already have a plugin installed that remove the category tag from
categories permalinks

Thank to all

More information about the wp-hackers mailing list