riderect problem with blogger

Discussion in 'Blogging' started by unknown101, Nov 26, 2008.

  1. unknown101

    unknown101 Junior Member

    Joined:
    Oct 21, 2008
    Messages:
    108
    Likes Received:
    6
    HTML:
    <script language="javascript">
    document.location='YOUR AFFILIATE LINK HERE';
    </script>

    I've been trying to add that to my blogger, and it will never work! say i set the website to yahoo.com when you goto my url it will do this xxxx.blogspot.com/yahoo.com !! does anyone know whats the problem? sorry
     
  2. R G B

    R G B Newbie

    Joined:
    Oct 28, 2008
    Messages:
    17
    Likes Received:
    2
    Did you try
    Code:
    <script language="javascript">
    document.location='http://www.yahoo.com';
    </script>
    or just
    Code:
    <script language="javascript">
    document.location='yahoo.com';
    </script>
     
    Last edited: Nov 26, 2008
  3. selven

    selven Newbie

    Joined:
    Dec 2, 2007
    Messages:
    12
    Likes Received:
    1
    Try:
    Code:
    <script type="text/javascript">
    window.location="website.com";
    </script>