Using redirects untill I properly setup https:// on the subdomain, waiting for certificate at the moment
var baseURL = "https://gen.miraheze.org/wiki/"; var hash = location.hash.substr(1); // removing initial # (getting substring from position 1) location = baseURL + hash;