Very simple page rule for URL forwarding not working properly

thewolfandthebee.com/
Forwarding URL (Status Code: 302 - Temporary Redirect, Url: https://thewolfandthebee.org)

Results in this URL in the browser:  https://thebeemail.com/thebeemail.org

Your rule is working:

~$ curl -sIL https://thewolfandthebee.com | egrep 'HTTP|.ocation'
HTTP/2 302
location: https://thewolfandthebee.org
HTTP/2 200
Thanks, cbrandt.  That page rule works now, but a similar rule where I'm trying to pass the page names isn't working as expected.

*thewolfandthebee.com/*
Forwarding URL (Status Code: 302 - Temporary Redirect, Url: https://thewolfandthebee.org/$1)

always redirects thewolfandthebee.com/donate  or t hewolfandthebee.com/news/ to https://thewolfandthebee.org

rather than where I would have expected:
or thewolfandthebee.org/donate/  or  thewolfandthebee.org/news/

Have I defined the parameter passing/matching in the page rule incorrectly?

If your match rule is *thewolfandthebee.com/* then your target needs to be https://thewolfandthebee.org/$2 since you want to pass over the second wildcard value (the first you don’t care about).

1 Like

Perfect. Thank you so much!

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