Redirecting Pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chass
    Confirmed User
    • Jan 2001
    • 498

    #1

    Redirecting Pages

    Questions for you more seasoned webmasters.....How do you redirect a page to another URL...nothing nasty...just want the surfer to go to my sponsor site automatically when clicking on my URL..

    Can you please help out? Thanks.
  • hyper
    Confirmed User
    • Mar 2002
    • 5294

    #2
    In the Head section
    <.META HTTP-EQUIV=Refresh CONTENT="10; URL=http://www.gofuckyourself.com/"> content=10; means to wait 10 seconds - if you put 0 it goes automatic

    javascript in the body section

    <.SCRIPT LANGUAGE="JavaScript">
    <!-- Begin
    window.location="http://www.gofuckyourself.com";
    // End -->
    <./script>
    <.noscript>

    remove the . after the <

    javascript is better at the end of the page because the search engines will index the information if you use a meta refresh you may get penalized
    Last edited by hyper; 04-01-2002, 06:58 AM.

    Comment

    • chass
      Confirmed User
      • Jan 2001
      • 498

      #3
      Thanks Hyper.....I'll try that..

      Comment

      Working...