Redirect, Anyone?


So you wanna redirect your page huh?

html redirect or xhtml redirect(if you wanna be technical)

<meta http-equiv="refresh" content="3;URL=newpage.html">

put the code above in the head of your html page. this code will wait 3 seconds(henc) before it redirects to a page called newpagehtml. So while you wait, you can display a nice message like “Please wait while you area being redirected. ”

Javascript Redirect

<script type="text/javascript">
window.location = ""

this code will redirect to, cause thats where you want to go. ALL THE TIME. You are feeling sleepy…:p

Javascript Redirect

/* php redirect */

The php redirect code must be used before any output on the page. That includes the tag.

About the author

Talifhani Luvhengo

A collection of particles named Tali Luvhengo

Add comment


Page optimized by WP Minify WordPress Plugin