Page File Redirect Question

I am wondering if it’s possible to do a page file redirect that keeps the original address in the address bar?

For example: user types “website.com” and it redirects to “newwebsite.com”, but the address bar still shows “website.com”. Obviously, once user clicks a link it will update address bar.

Thanks!

Hi @jlockie,

This is not a general feature, but you could achieve it with Workers if you want to do it with Cloudflare.

1 Like

Thank you - looking into this now!

1 Like

No problem, this template does something like what you want and may be a good starting point.

https://developers.cloudflare.com/workers/examples/respond-with-another-site

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