Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Auto Redirect?

  1. #1
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default Auto Redirect?

    Is there any way to 'auto-redirect' a site using javascript?
    For example, http://habbcrazy.net/ redirects to http://habbcrazy.net/hcv3
    Thanks in advance +rep
    +.net - omg it's coming o_o

  2. #2
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    Just use the META tag?

    <meta http-equiv="refresh" content="2;url=http://webpage.com">

    Content being the time in which you want it to redirect, and the webpage.. well you know that.
    Last edited by hamheyelliot; 07-11-2008 at 11:21 PM.

  3. #3
    Join Date
    Jun 2008
    Location
    United Kingdom
    Posts
    2,015
    Tokens
    568

    Latest Awards:

    Default

    It would be better to use PHP if you want it to redirect instantly.
    PHP Code:
    <?php
       header
    'Location: http://www.redirected.com' ) ;
    ?>

  4. #4
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default

    Quote Originally Posted by Hamheyelliot View Post
    Just use the META tag?

    <code><meta http-equiv="refresh" content="2;url=http://webpage.com"></code>

    Content being the time in which you want it to redirect, and the webpage.. well you know that.
    Well that was easy Thanks alot, +rep
    +.net - omg it's coming o_o

  5. #5
    Join Date
    Dec 2007
    Location
    Manchester
    Posts
    2,236
    Tokens
    118
    Habbo
    hamheyelliot

    Latest Awards:

    Default

    No problem. Just don't put in the <code> bit. That was me not knowing HabboxForum Tags =P

  6. #6
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by HabbDance View Post
    Well that was easy Thanks alot, +rep
    Lol, no offense but i thought you could code...

  7. #7
    Join Date
    Oct 2008
    Posts
    138
    Tokens
    0

    Default

    Exactly HabbDance you pretty much implied you were the best coder here...

  8. #8
    Join Date
    Nov 2008
    Posts
    248
    Tokens
    0

  9. #9
    Join Date
    Mar 2007
    Posts
    1,691
    Tokens
    1,025

    Latest Awards:

    Default

    Or if you have cPanel just make your root domain go to your directory...

  10. #10
    Join Date
    Sep 2008
    Posts
    718
    Tokens
    0

    Default

    Quote Originally Posted by Jackboy View Post
    Lol, no offense but i thought you could code...
    Quote Originally Posted by Josh-sama View Post
    Exactly HabbDance you pretty much implied you were the best coder here...
    You two really need to stop. I never said I was the best coder or anything of the sort. Really, just stop posting in all of my threads saying I suck to get your post count up.

    I could have done that if I want, don't you think? I think it's easier just to post here...

    Quote Originally Posted by Awfy View Post
    Or if you have cPanel just make your root domain go to your directory...
    Thanks, never thought of that. +rep

    Anyway, close this thread please.
    +.net - omg it's coming o_o

Page 1 of 3 123 LastLast

Posting Permissions

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