Any body know how to redirect this way?

Discussion in 'HTML & Website Design' started by Bizsouth, Mar 18, 2009.

  1. #1
    I ran across a url in ask yahoo that had a link to a blog. When I clicked on the link it took me to the blog for maybe 3 seconds and forwarded to another site.
    This appeared to be used as a black hat technique to get around policy,
    however I would like to use this technique in a legit way. I thought I could find it free as app, source or widget, no luck. DESCRIPTION:
    Sorry this hard to explain. When I clicked onto the blog, it looked like any other blog, then forwarded automatically to another site. I repeated the process and noticed two text boxes with no description or submit button. The top box had a one word description and the second box had the URL take took you to the second site. Appears the blog owner could type in any url to forward to wherever he chooses.
    If anyone know how this is done, I would love to know. My html knowledge is
    limited, and if it goes much further than copy and paste I might have a problem. Thanks
     
    Bizsouth, Mar 18, 2009 IP
  2. nicolasthun

    nicolasthun Guest

    Messages:
    309
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You could use meta redirect
     
    nicolasthun, Mar 18, 2009 IP
  3. REALLY Made IN Canada

    REALLY Made IN Canada Peon

    Messages:
    40
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you require redirection legitimately, there are several main types:

    - Temporary [302]

    - Permanent [301]

    "Meta Refresh" redirection seems to be frowned upon, because it is abused so often - search engines seem to assume an automatic refresh has a nefarious purpose.

    Instead, use .htaccess and/or Mod Rewrite to invoke a "proper" temporary or permanent redirect.

    Is there any reason you want to "pause" on the page? If it is to inform the user that a URL has changed, offering a link to "continue" WITHOUT auto-redirect is less likely to be suspect (and penalized).
     
    REALLY Made IN Canada, Mar 18, 2009 IP
  4. Bizsouth

    Bizsouth Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I have a legit reason, but it sounds a little over my head to figure out how to do anyway. I was going to use it as a "call to action" type deal before final destination. I'm know it's totally black hat the way I saw it used and would be abused if it was answered here. Therefore, I'm glad you didn't answer it. It's something I can do without, just had the idea above, and thought it might be a neat way to get someone's attention. Plus, I'm amazed at what programmers are able to do. I guess I envy those with so much knowledge it that area.
    Thanks,
    Bizsouth
     
    Bizsouth, Mar 22, 2009 IP
  5. awelsh

    awelsh Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    <meta http-equiv="Refresh" content="5; url=http://www.yoursite.com">

    Just change the number in "content=" to how ever long in seconds you want to wait before redirecting :)

    Please it within <head> tags on the page :)
     
    awelsh, Mar 22, 2009 IP