htaccess rule doesn't work - NET::ERR_CERT_COMMON_NAME_INVALID
htaccess rule doesn't work - NET::ERR_CERT_COMMON_NAME_INVALID -
Solution :
Additionally, if you would like to do some further testing, give the htaccess tester tool a try. It allows you to specify a certain URL as well as the rules you would like to include and then shows which rules were tested, which ones met the criteria, and which ones were executed.
.htaccess files are extremely useful in many cases for users who either do not have root permissions or for users who simply aren't comfortable in making changes in their web server's configuration file. Trying to debug .htaccess not working isn't always the easiest thing to do, however, hopefully by checking the discuss below mentioned about htaccess, 301-redirect, , , .htaccess common problems as well as the troubleshooting tips, you'll have a better grasp on what you may have to modify to get your .htaccess file running smoothly.Problem :This URL:
https://mqgmodas.com/rebajas/
Into the .htaccess I have:
Redirect 301 https://mqgmodas.com/rebajas/ https://masqguapas.com/rebajas/
Also I have a redirection in my control panel saying that mqgmodas.com must go to masqguapas.com (homepage redirection is working ok, but the subdomains/subfolders, no).
But when you search for "masqguapas" (at least in Spain), the 3rd & 4th results are URLs from the old domain... And the redirection isn't working. Google Chrome says NET::ERR_CERT_COMMON_NAME_INVALID
From the browser error you posted it looks like you don't have a valid SSL cert for the old domain. You will need to have a valid SSL cert for the old domain if you wish to redirect https://olddomain.example as otherwise, the browser won't allow the request to reach your server.

Comments
Post a Comment