[wp-hackers] Alternate paging URLs

Jeremy Visser jeremy at visser.name
Wed Mar 3 05:18:52 UTC 2010

Hash: SHA1

On 03/03/10 15:06, Dan Phiffer wrote:
> I don't like the URL structure /page/2/

G'day Dan,

I tend to agree with you, especially on this point:

> Its content changes, making it not very bookmark-friendly (or search
> results friendly)

The /page/2/ mechanism is effectively subject to a race condition, where
if you are on, say, page 3, and you navigate backwards to page 2, and in
the meantime, the author publishes a new blog post, you will miss what
was the last item in page 2 when you first navigated to page 3.

> I'd prefer to use ?start=key, where key is a URL slug or ID number. 
> I've worked out some SQL that I think will do what I want, but I 
> don't know how difficult this might be to actually implement given 
> that it deals with pretty low-level stuff.

While the ?'s in URLs will probably get the flamewars going more than
anything else you have suggested ;), Twitter appears to implement
something quite similar:


(That's the URL of the "more" link at the bottom of my timeline.)

Version: GnuPG v1.4.9 (GNU/Linux)


More information about the wp-hackers mailing list