301 Redirect of Old Domain to New in Cloudflare

301 Redirect of Old Domain to New in Cloudflare

If you're trying to direct an old domain in Cloudflare to a new domain, this short article will explain how to do so.

Don't Feel Like Reading? We Made a Video Explaining the Full Details of the Topic. Click Here to Scroll Down to The Video


    1. Login to Cloudflare
    2. Click on your domain
    3. Visit Rules -> Redirect Rules
    4. Click on Create Rule
    5. Name your rule "old to new"
    6. Select radio button "All incoming requests"
    7. Then... URL redirect equals Type = Dynamic and Expression = 



* replace newdomain.com with your new domain name

  1. Checkbox "Preserve query string"
  2. Status code = 301
  3. Click on deploy
  4. Test test test.

View Entire Topic Via Our Youtube Walkthrough:

Thank You For Reading Our Articles!

We're dedicated to providing real answers, valuable insights & efficient knowledge online. Through our content, we strive to share information that matters, leveraging technology to multiply efforts & minimize waste.

Your support is invaluable, so please subscribe, share, & help with your insight and engage with our amazing community!

Leave a comment

Please note, comments need to be approved before they are published.