Redirect an old blog to a new URL
My old blog was at blog.wafrat.com, and I wanted to host the new one at www.wafrat.com, while also preserving the old links.
My first idea was to use a CNAME redcord:
- Host name: "blog"
- Type: CNAME
- Data: "www.wafrat.com."
And it worked, except for the SSL certificate.
So instead, I set up web forwarding on Google Domains (my registrar).
I also had to go into advanced settings to forward paths too:
It was pretty quick for the forward pathing to work: http://blog.wafrat.com/about indeed redirected to https://www.wafrat.com/about/, but http://blog.wafrat.com/ redirected to https://blog.wafrat.com/, and then simpy failed.
It took another 2 hours for http://blog.wafrat.com and https://blog.wafrat.com to redirect to https://www.wafrat.com.