Cloudflare Redirects: How to Setup 301 Redirects (URL Forwarding) Using Page Rules

Published: 17 January 2023
on channel: devin schumacher
36,232
479

📺 How to Setup 301 Redirects (URL Forwarding) Using Page Rules
🎁 Free Checklist: https://devin.to/ps-cloudflare-redirects
📝 Full Article: https://devinschumacher.com/cloudflar...
💌 Stay Updated: https://devin.to/email
▁▁▁▁▁

So you have a super popular “how to poop standing up” article 💩 butt you just got a new domain hooked up on CloudFlare and are worried that all those people who bookmarked the old URL might not be able to find thew new one…

Sounds like you need to setup some 301s!

Unfortunately, setting up a 301 redirect at CloudFlare isn’t that self-explanatory…

And since nobody likes reading documentation I figured that a true hero needed to step up and make this easy on the rest of the world.

So here I am, hero of the internet, come to make your life easier once again – with an article, video & SOP for you to save and use later!

▁▁▁▁▁
⏱ Chapters:

0:00 Setting up 301 Redirects w/ Cloudflare Walkthrough
0:50 Step 1: Add Domain to CloudFlare
1:25 Step 2: Point NameServers
2:00 Step 3: Update CloudFlare DNS 🎯 [START HERE]
2:50 Adding the Cloudflare DNS Records
4:15 Step 4: Setup Page Rules for URL Forwarding
4:28 What's up guys?
6:53 URL Forwarding Inner URLs
7:02 How to poop standing up 💩
8:05 Bonus, because you stayed until after the credits finished rolling

▁▁▁▁▁
🎁 Feeling Generous?
🎁 SUPPORT THIS CHANNEL + GET AWESOME STUFF

Amazon™ pays commissions if I refer people to them, and that person buys something (anything) over the next 24 hours...

So if you click on one of the affiliate links below buy some crap 💩 you need/want - I'll get a commission from Amazon™ - you'll get a great excuse to buy that 'thing' you've been wanting!

You don't even need to buy the actual items linked here to support this channel...

You can just buy yourself something you've been wanting, or do your weekly shopping!

(i know you've been trying to squeeze that last little bit of toothpaste from the tube for like 3 months now... it's time for a new one)

🪥 Toothpaste: https://amzn.to/3iVK9oB

And that's what I call a win-win!

hi-five amigo! 👋

⚙️ YT Gear:
Webcam: https://amzn.to/3ichX0z
Main light: https://amzn.to/3hRQdhv
Background light: https://amzn.to/3vhAbR9
Mic: https://amzn.to/3PQdrBb
DSLR Camera: https://amzn.to/3Zbapf2
Screen Recording: https://devin.to/screenflow
YouTube SEO Tool: https://devin.to/vidiq

▁▁▁▁▁
👋 Connect on social:

  / dvnschmchr  
  / dvnschmchr  
  / dvnschmchr  
  / dvnschmchr  
  / devinschumacher  

▁▁▁▁▁
🧑‍⚖️ LEGAL:

This video is NOT sponsored. Some links are affiliate links, which means if you buy through that link I will receive a small commission at no additional expense to you. As an Amazon Associate I earn from qualifying purchases. Read more about our disclaimers & disclosures for all videos: https://devinschumacher.com/legal/

▁▁▁▁▁
🦩 Stay funky, my friends.
🪩 https://devinschumacher.com/

▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
#cloudflare #dns #301 #redirects #cloudflare #domainnames #spaghetti


Setup 301 Redirects (URL Forwarding) Using CF DNS & Page Rules:

Setting up a 301 redirect at CloudFlare isn’t that self-explanatory…

And since nobody likes reading documentation I figured that a true hero needed to step up and make this easy on the rest of the world.

So here I am, the hero of the internet, come to make your life easier once again – with an article, video & SOP for you to save and use later.

1. Add Domain to CloudFlare

2. Update NameServers

3. Update CloudFlare DNS

Record #1:
Type: A
Name: @
IPv4 Address: 192.0.2.1

Record #2
Type: CNAME
Name: www
Target: @

4. Setup Page Rules for URL Forwarding

Enter the URL pattern you want 301ing
Click the dropdown and choose ‘URL Forwarding’
Select your ‘Status Code’ from the drop down (probably 301)
Enter the destination
Click ‘Save and Deploy Page Rule’

You should be able to go to your forwarded domain, and be taken to the destination.

If it doesn’t work, make sure:

You’ve given enough time for the nameservers to propagate (see step 2)

Clear the CloudFlare cache (if you transferred your domain from another Cloudflare account)

Clear your browser cache, or try in ‘incognito mode’ (press shift + command + n on most browsers (MAC) to open an incognito window)

Full article here: https://devinschumacher.com/cloudflar...


Watch video Cloudflare Redirects: How to Setup 301 Redirects (URL Forwarding) Using Page Rules online without registration, duration hours minute second in high quality. This video was added by user devin schumacher 17 January 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 36,232 once and liked it 479 people.