Moved to a new domain


This site just moved to a new domain Long overdue move of course, I bought the new domain years ago…

Anyway, the only interesting bit about this is how I’m trying to keep the old links alive with a little bit of HTML magic.

Using a very basic python script I’ve created a dedicated github repo with a directory structure mirroring this site, where each index.html consists of something like this:

<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting to</title>
<meta http-equiv="refresh" content="0; URL=">
<link rel="canonical" href="">

This makes browser open a new link, effectively working as 302 redirect, but without any server side setup.

Tags: Blog

Categories: Personal IT