1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

help with redirect problem

Discussion in 'Web Design' started by supernour09, Sep 4, 2011.

  1. supernour09

    supernour09 Junior Member

    Joined:
    Jul 20, 2011
    Messages:
    191
    Likes Received:
    6
    simple i have domain and i am try to install magneto on it and i did but the problem that it been install on sub folder ww.domain.c0m /magento and who vist only my domain it get nothing can any one help with a redirect who visit my root domain to my sub folder
     
  2. allbusiness

    allbusiness Newbie

    Joined:
    Jul 22, 2011
    Messages:
    48
    Likes Received:
    4
    Occupation:
    Internet Junkie
    Location:
    Chicago, IL
    Which hosting company are you using?
     
  3. davids355

    davids355 Jr. VIP Jr. VIP Premium Member

    Joined:
    Apr 25, 2011
    Messages:
    8,787
    Likes Received:
    6,326
    Home Page:
    easiest thing to do is do it from your host control panel - either point the domain to that folder (so taht the visitor goes to yourdomain.com but they see files from magento directory), or if you cant do that, just setup a http redirect from yourdomain.com to yourdomain.com/magento.

    OR

    create a index.php in root of domain, with following text:

    Code:
    <?php
    
    header("Location: http://www.yourdomain.com/magento");
    
    ?>