{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreig7aduzwoo3r4otc6y5gjqwcsc5ibttuwl2hllr6mpoo3yvjz2zje",
"uri": "at://did:plc:fuaxi56ej27ymlesklypt3ar/app.bsky.feed.post/3mggyciedktn2"
},
"description": "A small utility that’s surprisingly useful during website migrations",
"path": "/old-site-new-site-bookmarklets/",
"publishedAt": "2026-03-07T04:25:52.000Z",
"site": "https://www.autodidacts.io",
"tags": [
"100DaysToOffload",
"View more posts in this series."
],
"textContent": "During the review phase of a website migration that involved decades of content and a complex URL structure, which meant going through the site page-by-page checking for content and formatting that was missed or mangled in the migration, I made two simple bookmarklets: **Go to this page on old {{client_name}} site** and **Go to this page on new {{client_name}} site**.\n\nThey didn’t replace side-by-side comparison and automated diffs, but I found these bookmarklets surprisingly useful for quickly tabbing to the same page on the other version of the site any time I noticed something anomalous.\n\nThe code was ridiculously simple:\n\n\n javascript:void function(){javascript:(function(){window.location=window.location.toString().replace(/www.oldsite.com/,\"www.newsite.com\")})()}();\n\n\nHere is a hand-coded interactive widget, if you’d like to make your own _old site, new site_ bookmarklets for a migration:\n\nGo to page on old site Go to page on new site Toggle to page on other site\n\n\n\n\nPut the URLs of the old site, and the new/staging site, into the two inputs above. (Skip the protocol, but include the subdomain if there is one.) Then, drag the gaudy bookmarklet buttons to your bookmarks bar.\n\n****Note:**** this post is part of #100DaysToOffload, a challenge to publish 100 posts in 365 days. These posts are generally shorter and less polished than our normal posts; expect typos and unfiltered thoughts! View more posts in this series.\n\n\n",
"title": "Old site, new site bookmarklets",
"updatedAt": "2026-03-07T04:25:53.991Z"
}