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!


Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Location
    Watford
    Posts
    600
    Tokens
    0

    Default Setting a directory as the homepage?

    Haha, this is such a stupid question, but I need to know

    Say I have www.example.com/example, how do I set the /example directory as the homepage?

    +rep to the first person who helps.

    Thankies

  2. #2
    Join Date
    Sep 2006
    Location
    Hobart, Australia
    Posts
    593
    Tokens
    0

    Default

    Ummmmmmmmmmmmmm... If you're on a cPanel account, you should be able to do it somehow I think, except I can't remember how For a quick fix, try something like this.

    PHP Code:
    <?PHP

    header
    ('Location: ./example');

    ?>
    Save that as index.php and upload it to your directory root

  3. #3
    Join Date
    Mar 2007
    Location
    Watford
    Posts
    600
    Tokens
    0

    Default

    Yeah, I'm on cPanel

    Anyway, thanks for that, it works, so it'll do just fine +rep

  4. #4
    Join Date
    Apr 2006
    Location
    Australia
    Posts
    307
    Tokens
    0

    Default

    For future reference, if you don't wanna mess around with code, you can go to the Redirects option in cPanel, and do it easily from there.

  5. #5
    Join Date
    Mar 2007
    Location
    Watford
    Posts
    600
    Tokens
    0

    Default

    Quote Originally Posted by Zaub View Post
    For future reference, if you don't wanna mess around with code, you can go to the Redirects option in cPanel, and do it easily from there.
    Ah ok, thanks for the help, +Rep

Posting Permissions

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