Redirect Help

Discussion in 'HTML & Website Design' started by BenGregg, Apr 12, 2008.

  1. #1
    Okay, I want to know how can I redirect any visitor that comes to my site to the forum automatically since that is all the site is. I should have just placed the Forum in the main directory, but it's too late now and I have no wish to redo it. So how do I redirect my site using htaccess from / to /forum/ (my site is at http://www.legallyhighforum.astahost.com/), I'm trying this script right now:
    Redirect /index.php http://www.legallyhighforum.astahost.com/forum/index.php
    but it only redirects the index.php specifically to the forum/index.php, I need a full directory redirect script, so / will go to /forum/
     
    BenGregg, Apr 12, 2008 IP
  2. TechnoGeek

    TechnoGeek Peon

    Messages:
    258
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    TechnoGeek, Apr 12, 2008 IP
  3. BenGregg

    BenGregg Peon

    Messages:
    619
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    BenGregg, Apr 12, 2008 IP
  4. astarwebdesigns

    astarwebdesigns Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ok. if you have /cpanel, log in, click on redirects, simply complete the form and hit OK..

    just noticed its a sub :| you'll have to get the host to do this... if all else fails just create a HUGE button to send traffic where you want them. I love how users are easily manipulated :)
     
    astarwebdesigns, Apr 13, 2008 IP
  5. BenGregg

    BenGregg Peon

    Messages:
    619
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    haha if I can't get the redirect to work I think I will move the Forum to the main folder.
     
    BenGregg, Apr 13, 2008 IP
  6. BenGregg

    BenGregg Peon

    Messages:
    619
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you sire the cpanel idea worked.
     
    BenGregg, Apr 13, 2008 IP
  7. astarwebdesigns

    astarwebdesigns Peon

    Messages:
    38
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yup, there's also a lot of cool gizmoes in cpanel that can save you a lot of time, like the search bar
     
    astarwebdesigns, Apr 13, 2008 IP