You don't actually have to use the .htaccess
to redirect users. It will be hard if you do so.
I would suggest you entering the following code to the PHP file to redirect users:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Redirecting you to *The Website*</title>
<link rel="canonical" href="<Your website>" />
</head>
<?php
# The code below will redirect the users to the site that you want to redirect to.
# If the site has HTTPs, please change the "http://" to "https://"
header('Location: http://*Where you want the users to be redirected to*/');
exit();
# The "exit" code will prevent any more redirects in the current page.
?>
</html>
One example:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Redirecting you to GhostAnti DDoS</title>
<link rel="canonical" href="https://fantomnet.cf/" />
</head>
<?php
# The code below will redirect the users to the site that you want to redirect to.
# If the site has HTTPs, please change the "http://" to "https://"
header('Location: https://ghostantiddos.com/');
exit();
# The "exit" code will prevent any more redirects in the current page.
?>
</html>
Hope that helped. Hit me up if you still need help in this