[wp-hackers] SPecial permalink
John Blackbourn
johnbillion+wp at gmail.com
Wed Oct 6 15:09:01 UTC 2010
Don't get mad Stefano, it's not that bad.
Check out the Using Permalinks page on Codex [1], you'll notice
there's a %category% tag available BUT you must realise that your site
can have severe performance issues if you start your permalink with
this tag [2] so you might want to think of a better way to structure
your permalinks.
John
[1] http://codex.wordpress.org/Using_Permalinks
[2] http://www.google.com/search?q=wordpress+category+permalink+performance
On Wed, Oct 6, 2010 at 1:28 PM, Stefano Aglietti <steagl4ml at gmail.com> wrote:
> 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
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list