When the page renders, I’d like to show url1 on the address line, not url2.
Is this possible? If so, how?
I have attempted the first part be setting up a Redirect Rule, but I’m getting a 404, even though I have confirmed url2 is valid and presenting the page properly.
The Redirect Rule is set up with URL Full equals url1, then Static / url2 / 301.
Thanks for your help as to what I need to change to get this going properly.
No. That is not a redirect. A redirect tells the client to request a different URL. Cloudflare has no out-of-the-box support for URL masking. You may be able to write something using Cloudflare Workers, or, depending on your application, you may find that Cloudflare for SaaS is suitable.
I understand that the answer to my second question is no can do.
I don’t understand the answer to my first question though. Why am I getting a 404 on my current setup, and how do I set up the redirect rule in order to avoid that?
Thank you.
Happy to provide whatever information is necessary. That said, I have made other posts where links are not permitted and had to be removed in order for the post to be made. In fact, yes, after providing all the info, including the links, the post was rejected until I removed the links. Here are the responses to your questions:
Domain: . I am the owner of the domain.
What I want to do is have url1 () to forward to url2 (). What’s happening is that the redirect I described previously is leading to a 404 error.
I made this post, providing the information I believe would be required for others to advise, and the additional information requested.
Thanks for the additional information. The domain names are the most important part of all the listed info. This will allow us to see what is really happening.
You can write them creatively to avoid them being automatically converted into links.
You need to rework the match side of your rule. It is not being matched by your request which means it is sent to your origin server which has no content at that URL and returns the 404 accordingly.
Try adjusting your match portion after reading the following.