I’m rewriting some of this site’s code[1] so that readers can find posts grouped by tags.

On this day, however, the challenge I face is that my code might be constructing its pagination URLs incorrectly: instead of sending you to page 2 of blog posts by offering a link such as blog?start=2, it may be showing a duplicated query string, e.g. blog?start=2start=2. And this behavior may be related or unrelated to my work on tagging, which also happens to involve query strings.[2]

I work out changes using a copy of the site on my laptop and that’s where these incorrect strings appeared in footnote links.

So I’ve added footnotes to two remarks in the paragraphs above. And my plan is to make this post show up on page 2 or later of the blog (right now there’s only one page). If and when the footnote links are constructed correctly, you’ll be able to inspect them (such as by tapping and holding, or by hovering or right-clicking your computer’s pointer) and see that the start query string isn’t improperly duplicated.

Update, one day later: Tags, pagination, and footnotes appear to be working correctly.


  1. Websites don’t have to use fancy code. You can construct a site with a basic message simply by writing what you want to say, adding a few markup tags, and saving it to a webserver. Sure, you might need to learn what those instructions mean and how to follow them, but it’s doable. ↩︎

  2. The actual numbers shown in the query string will be greater than this but I show ‘2’ here to make the example less confusing. Normally the numbers are multiples of 20—or at least they have been; they reflect not the page number but the number of posts per page, and I could change that to thirty or whatever I like. Today in fact I’ll probably change it to something small while testing, such as 3 or 4, to force the site to spread the posts onto additional pages. ↩︎