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

preview_player
Показать описание
📺 How to Setup 301 Redirects (URL Forwarding) Using Page Rules
▁▁▁▁▁

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)

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

hi-five amigo! 👋

⚙️ YT Gear:

▁▁▁▁▁
👋 Connect on social:

▁▁▁▁▁
🧑‍⚖️ LEGAL:

▁▁▁▁▁
🦩 Stay funky, my friends.

▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁
#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)

Рекомендации по теме
Комментарии
Автор

Youuu sonoofaab$%! you DID IT! thanks dude, really, I was struggling cause CNAME was not accepting the url with "/" so I did it with CF and followed your tutorial and worked!
So this is for all the people whi is in the comment section looking for someone saying "is not working" find the full article and follow the steps and re check cause it took me 2 times to make it work.
Thanks.

Guiviro
Автор

Thank you for making this video Devin! This video allowed me to quickly fill in the pieces I was missing to forward my URL.

mickeylsmith
Автор

worked like a charm
other videos on Youtube didn't mention to setting DNS records beside the page rule
Thanks man

vahidvahedi
Автор

Bro your sense of humor is amazing, thanks for making it fun

jakobjohnston
Автор

super helpful, even after a year this tutorial is valid and to the point. thanks man

decipherwithzaryab
Автор

Loved your chill style! Great video, thanks

karolisrud
Автор

SO HELPFUL. Thank you! I completely forgot about updating my nameservers first too.

jenniferdodd
Автор

This is exactly what I needed. Thank you!

jskuzma
Автор

thank you very much! the redirect rules wasnt enough but your video was what i needed 🔥

LiamAdasme
Автор

thank you! that was fast and helpful, I appreciate your work

rawessentials-pet-food
Автор

omg!! Thankyou! This is what I have been looking for.. you saved me a lot of stress!

MissBunny
Автор

devin - thank you so much for this awesome video (yep, I was stuck too). This was immensely helpful., Thanks again!

susanleys
Автор

Thanks Devin, it was a great explanation for setting up the 301 redirect. Helped me a lot.

saxmanwwjd
Автор

Wow, this was just what I needed. I was missing a couple of small details reading through the CF docs.

DavidTschoepe
Автор

Great video and explanation. Explained it so that even a noob like myself fixed it after hours searching for answers, thanks

ClaudioMonzeglio
Автор

You sir are an interesting fella, I never thought the video that would help me with cloudflare redirects would also be the one mentioning standing and pooping. Thanks

ikleveland
Автор

Thanks Devin, really simple explanation, much appreciated, I knew it could be done, just did not know how! We moved our Website Builder/CMS and could not match URLs which was restriction on the new provider hence had to do a number of redirects :)

aaronmani
Автор

Thank you man. Super helpful. I just wanted to forward a specific domain on my website to a product page on Gumroad. Didn't think I'd be listening to someone talk about how to poop standing up. It had me howling 😂For that reason alone. I'm going to subscribe.

P.s I'm your luckily 1, 000th subscriber.

adrianwolls
Автор

wow that was hard but it worked. thanks for this video!

lanieldee
Автор

I changed permalink structure from default: ?p=123 to Post name: sample-post/

Site is pretty new but was indexed before this change.

What do I need to do, to completely index the site with brand new permalink structure?

(It completely lost it's visibility, though the site does exist on google and are active.)

audunjemtland