Forwarding isnt working

Hi

I Would like to add a redirect like so:

https://a.example.com/friends.php?a=100&url=438

to

https://example.com/affiliates/link?a=100&url=438

For some reason I cant get it to work with such settings

.a.example.com/
Forwarding URL (Status Code: 301 - Permanent Redirect, Url: https://example.com/$1)

Can you please advise?

Thanks
Ron.

If this is supposed to be *.a.example.com/* then it won’t match a.example.com due to the *. at the start.

a.example.com doesn’t have any . before it so it wouldn’t match - you just want a.example.com from the sounds of it.

Your rule will just replace the a.example.com part, it won’t handle any of the friends.php?foo to affiliates/link?foo.

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