URL forwarding or redirection with cloudflare

March 14, 2020 Heat point 5337 13 people like it 2 comments

Due to historical reasons, some of the domain names in my hand have not been used or have been migrated to new addresses, and I don't want to spend extra servers to do page redirection (Qing!)
Then, there is only one solution: white whoring
As mentioned in the title, the goal of today's project is cloudflower, which is also very simple to use. Here is a simple diagram~

The first step

Log in to cloudflower to create page rules


Second, edit the page rules and save them

In the screenshot, it means to https://img.cdn.vv1234.cn 's request will be redirected to the https://wx1.vv1234.cn above
Img.cdn.vv1234.cn is the CDN domain name of the original map bed, and then wx1.vv1234.cn is used as the new domain name. However, I am not using this map bed alone
If the blind direct switch in the past, may use the map bed of other users over the site images can not be loaded, in line with the user responsible mentality, this jump is indispensable, very necessary.
According to the above configuration, access can be achieved https://img.cdn.vv1234.cn/o_1bkmi1agp1op56e11sul1b7g29a.jpg
Jump to https://wx1.vv1234.cn/o_1bkmi1agp1op56e11sul1b7g29a.jpg
However, it should be noted that the page rule will only work if the traffic is transmitted through cloudflare. If you simply use the DNS function of cloudflare, the page rule will not take effect.


Life is like the wind in autumn

Article review

  • Lvr8

    Thank you for sharing, thank you!!

    November 17, 2020
  • Interesting book platform

    Thanks for sharing

    November 4, 2020