Alright , to do this , you need to add .htaccess to your public_html folder ,and the code is .
RewriteEngine On
RewriteCond %{HTTP_HOST} !^http://example.com\.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]
2. Another way to redirect page using Refresh Redirecting Tag:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.google.co.il">
3. JAVA SCRIPT METHOD
<script type="text/javascript">
function delayedRedirect(){
window.location = "https://www.site.com/"
}
</script>
</head>
<body onLoad="setTimeout('delayedRedirect()', 10000)"> ==> This means 10 Seconds
~~> e-yhamtech