The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Redirect website (7 posts)

  1. avillabon
    Posted 2 years ago #

    Hello everyone,

    I need to do something that is probably really simple. On my godaddy hosting I have several wordpress websites, each on their own folder (see below).


    I hope this is not too confusing. Site1 was my original website. Months later I decided to overhaul the site so I created a new wordpress installation on a new directory (site2). I didnt want to deal with redirecting (the right way) so I just edited the index.html file and added these lines of code:

    <meta HTTP-EQUIV="REFRESH" content="0; url=http://www.mydomain.com/site2">

    This would redirect http://www.mydomain.com to http://www.mydomain.com/site2. Not the best solution but I learned to live with it.

    Now I created http://www.mydomain.com/site3 and instead of editing the file index.html and redirecting to this new address I want to be able to access it by visiting http://www.mydomain.com. Im not really sure where to start or what to search on google. I figured since I am running wordpress websites I could find help here.

    Btw, my hosting is godaddy.com.

    Thanks in advanced!


  2. avillabon
    Posted 2 years ago #

    forgot to mention, the index.html file I mentioned is hosted at the root:


  3. webbrewers
    Posted 2 years ago #

    Since the domain is already pointed at the hosting account, all you need to do is map the domain to the correct sub directory. At Go Daddy, you can do that in the hosting admin panel. Then change the site address and home page url in WP settings » general.

  4. avillabon
    Posted 2 years ago #

    Im sorry but could you be more specific?

    Im sure the answer is there, I just dont understand what you are saying.

  5. webbrewers
    Posted 2 years ago #

    You have to look in your GD hosting account for the place where you added the "primary domain". There you can specify which directory on the server you want the domain pointed at. Now you have it set to /site1/. Change that to /site3/.
    Then in the WP dashboard for "site3" go to settings » general and change the site url and site address.

  6. avillabon
    Posted 2 years ago #

    I just realized originally I had "site1" installed to the root of the domain, not a folder inside the root.

    I went to my cpanel and under my domains I see that the primary domain (which is the one I want to use) has the option to edit it greyed out. All other domains have the option of redirecting to a specific folder but not the main domain.

    What I am trying to get at is the fact that the domain was never pointing to "site1" since that one lived on the root of the ftp.

    Is it possible godaddy doesnt let you do that at all with primary domains?

    I would call them but I am out of the US at the moment.

    Thanks for your helps so far.

  7. webbrewers
    Posted 2 years ago #

    It sounds like the primary domain was pointed at the root so not sure what you mean by "the domain was never pointing to "site1"". At the moment I can't log into GD for the answer but I'm pretty sure you will find it if you search their help files for "map primary domain".

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.