On Fri, Jan 30, 2009 at 1:23 PM, Otto o...@ottodestruct.com wrote:
1) Is it only when you use those at the -beginning- of the permalink
structure?
Yes.
Ok, good to know.
2) If using %category% in the structure is not wise, how else are you
supposed to browse your blog/site by
However, I dont think Verbose rules apply to attachments, You're
likely to have 11~ish rules for attachements per post-rule, If you've
got 500 post rules in the rewrite rules, you'll have 500*11 for
attachments too.. Since most of us only have ~5 rules for every single
post, theres less than
I'm not as up on the whole structure workings of WP as everyone else (and
it's early here), but I'll have a shot at some of your questions. :P
1) Is it only when you use those at the -beginning- of the permalink
structure?
Yes, I believe so.
2) If using %category% in the structure is
1) Is it only when you use those at the -beginning- of the permalink
structure?
Yes.
2) If using %category% in the structure is not wise, how else are you
supposed to browse your blog/site by category?
The permalink structure only applies to single posts. Category
archives are built in, you
On Thu, Jan 29, 2009 at 1:29 AM, DD32 wordpr...@dd32.id.au wrote:
As mentioned on that ticket, If you're using a sane rewrite pattern,
then theres no problem at all, Most people will have about 20 rewrite
rules no matter how many posts/attachments/pages they have.
I would not consider
On Thu, Jan 29, 2009 at 2:12 AM, matthijs matthijsena...@gmail.com wrote:
I understand your explanation (good summery btw), but my point is that the
problem is not that there are so many rewrite rules, but that all of them
are placed in a single serialized string in one table field. That
Is that true? Do you really need to load - all - rules every time? I do
understand that's the way it's currently done. But is there absolutely no
way to design it in a different way? So that for example, you first look at
the request bit by bit and then load only what's needed?
On Thu, Jan 29, 2009 at 3:14 AM, matthijs matthijsena...@gmail.com wrote:
Is that true? Do you really need to load - all - rules every time? I do
understand that's the way it's currently done. But is there absolutely no
way to design it in a different way? So that for example, you first look at
On Thu, Jan 29, 2009 at 11:07 AM, Otto o...@ottodestruct.com wrote:
On Thu, Jan 29, 2009 at 3:14 AM, matthijs matthijsena...@gmail.com
wrote:
Is that true? Do you really need to load - all - rules every time? I do
understand that's the way it's currently done. But is there absolutely no
I am a PHP coder, but WordPress has always kinda stumped me a little. So I
was wondering if anyone could tell me if I would encounter this problem
using the %postname%/%post_id% permalink structure. I have nearly 18000
entries (between posts, attachments etc.) in the wp_post table my site
still
On Thu, Jan 29, 2009 at 3:22 PM, Paul Robinson pablorobin...@gmail.comwrote:
I am a PHP coder, but WordPress has always kinda stumped me a little. So I
was wondering if anyone could tell me if I would encounter this problem
using the %postname%/%post_id% permalink structure. I have nearly
Ahhh, I was hoping that was all that was meant. Yes, I always used to use
just post id, but as far as Google other search engines are concerned you
might as well jump of a large cliff into obscurity. :P That's why I chaged
to post name post id.
Paul.
2009/1/29 scribu scr...@gmail.com
On Thu,
On Thu, Jan 29, 2009 at 5:43 AM, matthijs matthijsena...@gmail.com wrote:
Again, I understand that in the - current - wordpress design this is how it
goes. But if you forget the current design for a moment, and think about how
you could otherwise design a system handling permalinks. I can
On Thu, Jan 29, 2009 at 5:43 AM, matthijs matthijsena...@gmail.com wrote:
Again, I understand that in the - current - wordpress design this is how it
goes. But if you forget the current design for a moment, and think about how
you could otherwise design a system handling permalinks. I can
I'd just like to chip in here and say bravo to Otto. In one fell swoop you
have just explained to me how WP does a lot of things with it'd DB why you
shouldn't use the category, post name combo for your permalink. You should
be a teacher. :P
Paul.
2009/1/29 Otto o...@ottodestruct.com
On Thu,
On Jan 29, 2009, at 5:43 AM, matthijs wrote:
On Thu, Jan 29, 2009 at 11:07 AM, Otto o...@ottodestruct.com wrote:
For the specific case that we're talking about, yes, you need them
all. The key here is the category and/or postname. These are just
arbitrary strings. So you need all the strings
On Thu, Jan 29, 2009 at 5:43 AM, matthijs matthijsena...@gmail.com wrote:
Again, I understand that in the - current - wordpress design this is how it
goes. But if you forget the current design for a moment, and think about how
you could otherwise design a system handling permalinks. I can
It's a good explanation for how wordpress does things currently. Thanks for
that.
I still don't agree about the performance issue mysql vs php. The first page
in any php/mysql book explains how you should build your code and queries in
such a way that you retrieve out of the database exactly what
/me takes hat off in respect...
I agree that is a totally good read. Now to take some of your logic and
apply it to the WP e-Commerce Plugin (yeah!!!)...
Ciao,
Dan
Paul Robinson wrote:
I'd just like to chip in here and say bravo to Otto. In one fell swoop you
have just explained to me how
On Thu, Jan 29, 2009 at 1:43 PM, matthijs matthijsena...@gmail.com wrote:
It's a good explanation for how wordpress does things currently. Thanks for
that.
I still don't agree about the performance issue mysql vs php. The first page
in any php/mysql book explains how you should build your code
In message
161617690901291054v249c043ch44c56affd3f22...@mail.gmail.com, Otto
o...@ottodestruct.com writes
1. Is it a page? select from wp_posts where post_slug = mypost and
post_type = page. Nope.
snip
3. Is it a post? select from wp_posts where post_slug = mypost and
post_type = post.
On Thu, Jan 29, 2009 at 2:44 PM, mrmist listswptest...@mist.org.uk wrote:
Putting the rest of the post to one side for a moment, does WP actually do
this?
No. It uses the rewrite_rules array to eliminate the need to do this
sort of thing.
-Otto
___
After reading this interesting discussions now I will change permalinks for
a site I will launch next week that was based on %category% URL for posts.
And it should be a big site soon.
So now I am planning to go with:
http://domain.com/%postname%/%post_id%
or
Engel, my 2 cents (or pounds seeing as I'm in the UK) I've been using the
first one for quite a long time in three blogs google has always loved it.
There might be a better way, but as far as I've seen it works great, not
that there is much difference between the two versions.
I've always
Thanks Paul... I think I will go with http://domain.com/%post_id%/%postname%
look prettier in the URL.
One question after this discussion about the wp pages problem. Do
this affect plugins that are installed in ONE page and after that create
their own URL... example: www.domain.com/forum
I would also like to know in which ways exactly wordpress has this scaling
problem. The issue I had was specifically with
%category%//%year%/%monthnum%/%day%/%postname%/
removing the %category% removed the problem. But that wasn't possible in
this case.
Or, as I have done now as a temporarily
On Thu, Jan 29, 2009 at 1:05 PM, Engel Sanchez en...@solunion.com wrote:
After reading this interesting discussions now I will change permalinks for
a site I will launch next week that was based on %category% URL for posts.
And it should be a big site soon.
So now I am planning to go with:
On Thu, Jan 29, 2009 at 3:28 PM, Engel Sanchez en...@solunion.com wrote:
Thanks Paul... I think I will go with http://domain.com/%post_id%/%postname%
look prettier in the URL.
I don't really get why people are so against the year/month/day/name
layout. It doesn't affect SEO one little bit, and
Uniquness? I don't know. I think I'd read somewhere that it was a bad
format. Now of course I realise I was having my leg pulled, but I didn't
think you could change your permalinks that drastically, or can you?
I was considering changing them but will redirection handle that sort of
permalink
2009/1/30 matthijs matthijsena...@gmail.com:
Now wordpress will write rewrite_rules for all those attachments. If you
have a page with 30 attachments, for each it gets maybe 11 rules, then you
have more then 300 rules for a single page, from which 90% is not needed
anymore. So maybe this is
On Thu, Jan 29, 2009 at 4:29 PM, Paul Robinson pablorobin...@gmail.com wrote:
I was considering changing them but will redirection handle that sort of
permalink change?
Sometimes the canonical 404 guessing function can handle it. Not often.
There are plugins which can handle this though.
I've been following this thread with great interest.
I had seen in a couple of places on the forum, the assertion that lots
of pages didn't scale, whereas lots of posts do. But could not find a
anything concrete to back it up.
Things are starting to make sense now.
I encountered a problem last
Thanks for that Otto. I've used the Permalink Redirect switched my
permalinks back to the classic year/month/day/postname. It looks a lot
better to me that plugin works like a dream.
Thanks once more.
Paul.
2009/1/29 Otto o...@ottodestruct.com
On Thu, Jan 29, 2009 at 4:29 PM, Paul Robinson
At some point in the past, ALL pages were stored in the rewrite array,
for each page, you had an extra rewrite rule, This changed though at
some point in the last few releases, Which is where the Verbose rules
was introduced..so now only verbose rules are used if they're needed,
and for pages,
Yes, the verbose page rules only get invoked when the permalink string
*starts* with one of those four things.
On Thu, Jan 29, 2009 at 3:59 PM, Paul Robinson pablorobin...@gmail.com wrote:
Ryan, just a quick question. Does that mean that if you don't begin your
permalink with one of those then
K, gotcha. :P
I was just thinking earlier today that all had been quite on the WP dev
front and then all of a sudden this epic email/thread comes from no where.
Twas a great read though. :)
Paul.
2009/1/29 Otto o...@ottodestruct.com
Yes, the verbose page rules only get invoked when the
Sorry I resend this question, but maybe it was overlooked.
One question after this discussion about the wp pages problem. Do
this affect plugins that are installed in pages and after that create their
own URL... example: www.domain.com/forum
In that case forum is a wp page, and a forum
Recently I discovered that the current way wordpress handles permalinks is
not scalable. All rewrite_rules are at the moment held in a single database
field in the wp_options table. If you have a few dozens pages and posts, you
have maybe a few hundred rewrite_rules in it and all is well. But as
On Wed, Jan 28, 2009 at 7:57 PM, matthijs matthijsena...@gmail.com wrote:
Recently I discovered that the current way wordpress handles permalinks is
not scalable. All rewrite_rules are at the moment held in a single database
field in the wp_options table. If you have a few dozens pages and
As mentioned on that ticket, If you're using a sane rewrite pattern,
then theres no problem at all, Most people will have about 20 rewrite
rules no matter how many posts/attachments/pages they have.
The moment you introduce %category% or %postname% to the start of the
rewrite structure, You start
40 matches
Mail list logo