Regex ^/(.*) www problems
-
Hi,
I’m redirecting an old domain to a new domain using Regex.
Source: ^/(.*)
Target: https://newdomain.com/$1But when I try to access https://www.olddomain.com, I’m not redirected to the matching page in the new domain. Instead, I get a “Your connection is not private” message and a “NET::ERR_CERT_COMMON_NAME_INVALID.”
It only happens when I add the www.
What am I doing wrong?
Can you help?
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Regex ^/(.*) www problems’ is closed to new replies.