Use 301 redirects
Move decodeArray and urlSafe to constants.go