Search code examples
cloudflare

Cloudflare URL forwarding specific urls


Very basic question I have about CloudFlare page rules.

I want the URL "ghbrewsupply.com/register" to forward to "gilehousebrewsupply.com/register.php".

I have both the domains on CloudFlare and as of now.

I would really love to hear what anybody has to say about this, never knew you could create page rules like this.

Thank you in advance.


Solution

  • The following should do the trick. Under Cloudflare page rules:

    if URL matches

    *ghbrewsupply.com/register
    

    Pick a setting > Forwarding URL (302 Temporary Redirect)

    https://gilehousebrewsupply.com/register.php
    

    Good luck, I hope this helps!