Forum Moderators: coopster

Message Too Old, No Replies

how do u create a redirect page

need help

         

undeadserpant

1:47 am on Feb 3, 2004 (gmt 0)

10+ Year Member



im not sure how to make a redirect page or where to post it in here-only put it in here because the site i want to redirect to has php in it. if u give me a code or somthing i wont understand it. i know almost nothing about a redirect page. PLEASE HELP!

transactiongeek

2:23 am on Feb 3, 2004 (gmt 0)



"if u give me a code or somthing i wont understand it"

This attitude is probably your biggest problem. You are either senior enough to manage someone to do it, rich enough to pay someone to do it, or you are going to have to learn to do it yourself. Since you are posting in here, I'll assume the last and give you some code:

Couple ways:

<?php
Header ("Location: <new page>");
?>

You can also use the redirect meta tag if you do not run PHP.

<META HTTP-EQUIV=refresh CONTENT="n; URL=somewhere">

Where n is the number of seconds, and somewhere is the url you want to go to.

undeadserpant

3:06 am on Feb 3, 2004 (gmt 0)

10+ Year Member



exactly what i mean-i dont understand that and i dont get how i use that-if i was told in a way i understand i can do it but nobody has explained how i use that code or what i do with it-if u could explain what i do with that then i can do it myself.

transactiongeek

11:59 am on Feb 3, 2004 (gmt 0)



Ok, I'll bite.

Try taking this code:

"<META HTTP-EQUIV=refresh CONTENT="n; URL=somewhere">"

and put it in a file called "redirectpage.html". Use notepad or something.

And upload it (ftp or have your webmaster do it) to your webserver in the document root directory.

Make sure "somewhere" is the webpage you're redirecting to. eg: if you're redirecting to [yahoo.com...] then the contents of the file "redirectpage.html" should be

<META HTTP-EQUIV=refresh CONTENT="1; URL=http://www.yahoo.com">