5 types of Redirect Code
Sometimes we use code to redirect webpage
to different location. Here you will get 4 types of “Redirect Code” based on common
interest. Choose the best for you …
Code 1 : SEO-friendly Redirect Code
<html><head><title>Tawhidur
Rahman Dear</title>
<META NAME="description"
CONTENT="welcome to the official website of Tawhidur Rahman Dear ">
<META NAME="keywords"
CONTENT=" key word 1, key word 2, key word 3, key word 4">
<META NAME="abstract"
CONTENT=" key word 1, key word 2, key word 3, key word 4">
<META NAME="distribution"
CONTENT="Global">
<META NAME="revisit-after"
CONTENT="7 days">
<META NAME="robots"
CONTENT="FOLLOW,INDEX">
<META NAME="owner"
CONTENT="Tawhidur Rahman Dear">
<META NAME ="author"
content="Tawhidur Rahman Dear">
<link rel="shortcut icon"
type="image/x-icon" href="http://www.example.com/favicon.ico"></head><frameset
border="0" rows="100%,*" cols="100%"
frameborder="no"><frame
name="TopFrame"
scrolling="yes" noresize
src=" http://www.example.com /target_url"><frame
name="BottomFrame" scrolling="no"
noresize><noframes></noframes></frameset></html>
Code 2 : Fixed title Redirect Code
<html>
<head>
<title>Tawhidur Rahman
Dear</title>
</head>
<frameset rows="0,*" border=0
frameborder="no">
<frame name="header" scrolling="no" noresize
target="main" src="http://www.example.com">
<frame name="main" src="http://www.example.com">
<noframes>
<body>
<p>This page uses frames, but your browser doesn't support
them.</p>
</body>
</noframes>
</frameset>
</html>
Code 3 : It will redirect and load after 5 Seconds (Perfect for 404)
<HTML>
<head>
<meta
http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>Set you Title here</TITLE>
<META HTTP-EQUIV="Refresh" CONTENT="1;
URL=http://www.example.com/target_url ">
</head>
<body BGCOLOR="#ffffff"
TEXT="#0099FF" LINK="#FFFFFF">
<p><b><font
face="Trebuchet MS"
color="#0093F4">Loading.....</font></b></p>
</BODY></HTML>
Code 4 : For two part web site, important for Top fixed Ad
<html>
<head>
<title>Tawhidur Rahman Dear</title>
<META NAME="description"
CONTENT=" welcome to the official website of Tawhidur Rahman Dear ">
<META NAME="keywords"
CONTENT="key word 1, key word 2, key word 3, key word 4">
<META NAME="abstract"
CONTENT=" key word 1, key word 2, key word 3, key word 4">
<META NAME="distribution"
CONTENT="Global">
<META NAME="revisit-after"
CONTENT="7 days">
<META NAME="robots"
CONTENT="FOLLOW,INDEX">
<META NAME ="author"
content="Tawhidur Rahman Dear ">
</head>
<frameset rows="60,*"
frameborder="no" framespacing="0" border="0">
<frame name="demo_head" id="demo_head"
noresize="noresize" scrolling="no"
marginwidth="0" marginheight="0" src="http://www.example.com/url_one"
/>
<frame name="demo_body" id="demo_body"
noresize="noresize" marginwidth="0"
marginheight="0" src="www.example.com/url_two" />
</frameset>
</html>
Code 5 : Instant URL Relocation Code
<script type="text/javascript">
window.location.replace("https://www._.com");
</script>