Redirecting Help!

Discussion in 'Programming' started by jl255, Oct 5, 2008.

  1. #1
    jl255, Oct 5, 2008 IP
  2. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Is your server Linux? If yes, than use Apache .htaccess to make a redirect rule. Make a 301 permanent redirect rule which is probably best way in this case.

    So try this, in the server root (public_html) of old site place this code in a .htaccess file.


    redirect 301 / http://www.GHIF.com/


    the "/" represents all files or everything in your old web site and the www.GHIF.com part is the site name where you need the links to go.

    Boulder
     
    Boulder, Oct 5, 2008 IP
  3. joxtechnology

    joxtechnology Peon

    Messages:
    146
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah boulder is right just use .htacess to do the job
     
    joxtechnology, Oct 7, 2008 IP
  4. techcone

    techcone Banned

    Messages:
    206
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
  5. sourcefreelance

    sourcefreelance Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Good spot Boulder, but now for your next trick.. What if its a Windows server ..
     
    sourcefreelance, Oct 8, 2008 IP
  6. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #6
    LOL..

    Windblows servers are for underlings whom have yet to learn or accept the fact that much better solutions are commandeered via open source software.

    With some things in life there are exceptions to the old stand buy cliché that says you get what you pay for. And Linux and other open source software, like Apache, PHP, MySQL and Wordpress are definite exceptions to that rule.

    The best things (software) in life are free.. in this case.

    Using Windows these days for a server would be like surfing the Web using a 26k connection.

    On windows to do that simply redirect, would probably have to edit 16 files and make a few more files or add 10 server mods just to do the same thing as that one mod_rewrite rule does on nix box.

    There is an easy solution to your question or issue however. And that would be to move or park the domain name on a Linux box (real server) and apply the same rule as above.

    Windblows is not too bad for checking email and surfing. But not for a full scale web server in 2008.. with all the best software being open source in our times.

    [​IMG]

    Have a lot of fun!
    Boulder
     
    Boulder, Oct 8, 2008 IP
  7. sourcefreelance

    sourcefreelance Peon

    Messages:
    32
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I thank you for your guided advice and will be much heeded these coming weeks!

    Seems there are just too many problems with microsoft servers.. Funny because they claim to be user friendly! :)
     
    sourcefreelance, Oct 8, 2008 IP