I have a problem, I want to redirect htaccess The content of domainold.com is still used, only this URL has changed
from the Old website, namely http://domainold.com/product/register
to my new site, namely http://domainnew.com/product/register how to do it, I have tried the method
RewriteCond %{HTTP_HOST} ^domain\-old\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.domain\-old\.com$
RewriteRule ^product\/register\/?(.*)$ "https\:\/\/domain\-new\.com\/product\/register\/$1" [R=301,L]
but can't, can you help me to solve this problem?? please help !!