How I Turned a 404 Error Into a Zero-Dependency Game to Save a Domain Migration

https://hackernoon.imgix.net/images/iwZH7dRLMkh1kEmjqbASeJXerOJ3-a0938nq.png

Migrating our site from a .com to a .co.uk domain meant that right from the beginning, we knew some of our incoming traffic would hit bad URLs, no matter how good we were. So what do you show then? So many companies treat the 404 like a tombstone - we decided the page guaranteed to see traffic you weren't expecting during a migration is the perfect place for a small browser game. So here's why we did it, how we did it, and the cost of doing it.

1. The Migrating Cliff

The overlooked bit about domain migration has always been that the 301 redirect map is a best guess at best, not a HOLY GRAIL. We did try to craft an exhaustive map of what we thought would hit it, and even some known URLs failed to make it onto the map and instead had this; nearly every valid...

Copyright of this story solely belongs to hackernoon.com. To see the full text click HERE

Read more