Results 1 to 2 of 2

Thread: Redirect Page in HTML Help needed

  1. #1
    Join Date
    Dec 2004
    Posts
    14
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Redirect Page in HTML Help needed

    I have two websites and want to have a link on each one that link them both to each other when a button or link is clicked. For instance, If I'm on site # 1 there will be a clickable text link that will take the user to site #2 and vice versa. I've done that, but I would like the user to be aware that they are leaving site #1 and going to site #2. I've seen a page popup at times when I'm on a certain site that when I click the link it says "You are leaving website.com and will be redirected to website 2.com" or something to that effect... Do you know how I can accomplish this??

    Thanks

  2. #2
    Join Date
    Oct 2008
    Posts
    42
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    You will need an intermediate html page, such as:

    Code:
    <html>
    <head>
    <TITLE>Redirecting</TITLE>
    <meta http-equiv="refresh" content="10;URL=http://your_other_site.com">
    </head>
    <body>
    You are being redirected to some other site.<br>If your browser does not automatically redirect you in 10 seconds, <a href="http://your_other_site.com">click here</a>. 
    </body>
    </html>
    Be sure to change the url in both the <meta> tag and the <a> tag to represent the correct website.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •