For some reason if you want to redirect all your website visitors to a page of your choice, you can set redirect rules in .htaccess file on the root of your website or even you can do it using HTML code.
You can use a nifty trick using which you can set redirect to another page within your site or for other site.
Open the source code of the page on which you want to set redirect, your page may lok like this : —-
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”>
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1? />
<title>Untitled Document</title>
</head>
<body>
</body>
</html>
you will have to put below code in between <head> & </head> tag
<meta http-equiv=”refresh” content=”3; URL=http://URL_of _redirected_page”>
Explanation : “refresh” content=”3; means that current page will refresh in 3 seconds, you can change this number to any value you want. Page will refresh after the specified value for seconds.
You need to replace “URL=http://URL_of_redirected_page” with the URL you want to get current page redirected to.
Posted under Linux cPanel Hosting, Technology Updates, cpanel Hosting, cpanel hosting tips
This post was written by MATIC Actuators on November 3, 2008



































































