How to successfully redirect slugs when using Firebase for hosting

Hi,

My website is nhavantuonglai.com, and need to redirect the slug from posts to articles. I followed the instructions from cloudflare, specifically adding DNS (192.0.2.1) and setting up page rules.

Once completed, the website has successfully redirected but cannot be accessed. Please advise how to fix it, specifically the right DNS, or how to effectively redirect on cloudflare.

Thank.

Hi there,

I’m not sure exactly what you mean here, but your current page rule redirecting from posts/* to article/$1 should be working, you don’t need to add any other DNS record. All you need to do is orange cloud the DNS record.
Proxy enable - orange cloud

If you’re still getting the 522, make sure Cloudflare IP addresses are allowed at your origin:

Take care.