Shaddo
Shaddo
CDCloudflare Developers
Created by Shaddo on 7/25/2023 in #pages-help
How to setup subdomain redirects
I have a domain name (example.com) and I want to route twitter.example.com and example.com/twitter to my twitter account. I have written 2 separate rules in a _redirects file but they are not working. I am not sure how to troubleshoot it. can someone help me please? here are the 2 rules:
https://twitter.example.dev/* twiiter.com/example_com 302
/twitter twiiter.com/example_com 302
https://twitter.example.dev/* twiiter.com/example_com 302
/twitter twiiter.com/example_com 302
I had redirect rules but I disabled them so I could only use this feature instead and have many more URLs to be available to redirect.
13 replies