How to get this redirect code to work

Discussion in 'HTML & Website Design' started by rickybuitrago, Apr 6, 2009.

  1. #1
    Hello,

    I was trying to use this code:

    <HTML>
    <HEAD>
    <META NAME="description"
    CONTENT="http://www.DOMAINNAMEcom">
    <META NAME="keywords" CONTENT="">
    </HEAD>
    
    <FRAMESET border=0 rows="100%,*"
    frameborder="no"
    marginleft=0 margintop=0 marginright=0
    marginbottom=0>
    <frame src=src="http://www.AFFILIATELINK.com"
    scrolling=auto frameborder="no" border=0 noresize>
    <frame topmargin="0" marginwidth=0 scrolling=no
    marginheight=0 frameborder="no" border=0 noresize>
    </FRAMESET>
    </HTML>
    HTML:
    To redirect my site, but when I include this code into my site editor, and upload it as index.html , this appears:


    I could be misplacing the code in dreamweaver, how exactly do I place it? Should I create a blank html , erase everything and paste just the code? Or between body tags?
     
    rickybuitrago, Apr 6, 2009 IP
  2. Hunter109

    Hunter109 Member

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    Is there a certain reason your using a frame? Why don't you just add a redirect code into the <head></head> tags and save all that typing. Your probably getting that error message because your telling it to redirct to 'src="http://ww.AFFILIATELINK.com"' instead of "http://affiliatelink.com" You have "src=" twice.

    Just use

    <meta http-equiv="Refresh" content="0; url=http://www.affiliatelink.com" />

    in your HEAD tags. unless you need a frame for something :\ if so just just fix your code I guess.
     
    Hunter109, Apr 6, 2009 IP