This repo is a minimal GitHub Pages redirect that forwards any visits to the old project pages URL:
https://maps-messaging.github.io/maps-messaging-site/
…to the new website:
https://mapsmessaging.io/
It also preserves paths, query strings, and hashes when possible, e.g.:
/maps-messaging-site/docs/getting-started?ref=gh#install
→ https://mapsmessaging.io/docs/getting-started?ref=gh#install
- Create a new public repo in the
maps-messagingorg namedmaps-messaging-site(or reuse the old one but keep your main site code private elsewhere). - Enable GitHub Pages for the repo (Settings → Pages → Build and deployment → Deploy from branch →
main→/ (root)). - Commit the three files in this folder:
index.html(root redirect with soft refresh + JS)404.html(redirect for deep links routed by GH Pages)robots.txt(discourage crawling, point to new sitemap)
- (Optional) If you used a custom domain before, remove any
CNAMEhere, because this redirect is intended for thegithub.ioaddress.
- GitHub Pages does not support native cross-domain
301responses for project pages; this uses soft redirects (HTML meta refresh + JS). - For true
301redirects, configure them at your DNS/hosting/CDN layer (you’ve already movedmapsmessaging.ioto MailerLite + Cloudflare).