Is it possible to use Cloudflare to redirect crawlers to a different CNAME?

I use Cloudflare as a DNS.

I have an Angular app, and I’m experimenting to add server side rendering via Angular Universal.

While it seems to work, I find that the regular client side rendering works better for my app, because it has a faster first content draw.

However, I still want my app to be SEO optimized.

Assuming the following: is a CNAME that goes to my statically hosted app (S3 + Cloudfront) is a CNAME that goes to a node server that hosts my SSR app

Can I set up Cloudflare to redirect bots to app2 without rewriting the URL, in order to have my cake and eat it too?


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.