Hi guys, i am looking to redirect my users who come through my sever Ip, to another domain. There is always a sub folder in the original url, in this case subfolder1. However, there is no set standard to product1.html as it might change to search.php?product=23 or other files...etc. Also would like the redirect to be a permanent redirect 301. Thanks for all your help.
Example:
http_://12.456.78.90/subfolder1/product1.html OR
http_://12.456.78.90/subfolder1/search.php?product=23..etc
to
http_://www.newsitedomain.com/product1.html
http_://www.newsitedomain.com/search.php?product=23..etc