How to redirect to a different URL
snippet in htaccess

How to redirect to a different URL

user4004

header("Location: http://www.testing.com", false, 301);
exit;