Moderator
James Huff
(@macmanx)
Volunteer Moderator
The performance issue probably won’t “bite” you. If it ever does, you can always change your permalink structure, and WordPress will redirect all incoming links to the old structure for you.
So am, I correct when I say that the performance issue triggered by having lots of pages (which is different from having lots of posts).
Sorry for being so specific, but I want to make sure I understand the issue before going forward with my site
Moderator
James Huff
(@macmanx)
Volunteer Moderator
Apparently, the related issues here were only caused by thousands of pages, not posts, but this article should explain it better:
http://ottopress.com/2010/category-in-permalinks-considered-harmful/
Thanks for that, that is the best description of the problem I have seen.
Any idea if adding some static text in from of the permalink structure doimain.com/statictxt/%postname% will prevent the problem in the first place?
The reason I ask is that when looking here:
http://core.trac.wordpress.org/ticket/8958
Denis-de-Bernardy comments that there is a separate bug that affects such permalimks, but doesn’t elaborate. Any idea what he was talking about?
Moderator
James Huff
(@macmanx)
Volunteer Moderator
I don’t think so, since the problem appears to be related to sorting through the post slugs. A static portion of the permalink would literally do nothing but make the permalink longer. Adding one of the numeric permalink tags before %postname%
would probably be the only option. You could try /%year%/%postname%/
.
>the problem appears to be related to sorting through the post slugs
hmmm… I thought the problem was caused by the inability to differentiate between pages and posts… at least that is how I understand it.
So adding the static text would make it easy to differentiate between the two.
domain.com/statictxt/xyz = post
domain.com/notstatictxt = page
Seems simple enough, though there are a few more text strings that also would not be pages (wp-admin, feed, etc)in fact this is what Otto seems to be saying:
“The conclusion is, in general, just don’t do it. Leave a number, or something static, at the beginning of your permalink string and you’ll never have any sort of problems.”
But there is a lot of contradictory information out there so I was hoping to get to the bottom of this
I asked Otto on his site about this and he seems to think that adding some static text to the permalink structure solves the issue. His answer makes sense to me, so I am going to go with that… hopefully he is right:)
i setup the permalink /%category%/%postname%.html in my site http://www.bevisible.com.au/
but my blog http://www.bevisible.com.au/blog/ is giving the output as follow
Index of /blog
* Parent Directory
Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at http://www.bevisible.com.au Port 80
can anybody help me out.