• Ok, so I created a WP site within my large hosting plan.

    I host multiple sites here, which are each stored in their own respective directory (folder).

    The following example uses made up urls.

    So if my main hosting is called https://primary.mainhosting.com
    and then I create a site called https://www.designer.com…

    I typically create a directory called “/designer” that is hosted underneath my primary hosting plan (with all of the wordpress files stored in the “/designer” directory). Then when someone visits https://www.designer.com, they see the wordpress site.

    Right now the site I created, has urls that look like this… https://primary.mainhosting.com/designer

    and then the separate pages look like
    https://primary.mainhosting.com/designer/?pageid=6

    However, I would like them to look like this…
    https://designer.com/?pageid=6

    Is that something that I can change under general settings in the
    WordPress address (URL) space … and the
    Site address (URL) space ?

    Right now the settings are…
    WordPress address (URL) https://primary.mainhosting.com/designer

    and…
    Site address (URL) https://primary.mainhosting.com/designer

    And when you visit the homepage to the site it says
    https://www.designer.com (as I want it to)

    However, when you start going to different pages…
    it shows the longer url which I do not want
    primary.mainhosting.com/designer/?pageid=6

    this is what I want…
    designer.com/?pageid=6

    Does this make any sense to anyone? I think if I change those settings to be
    https://designer.com, then that would fix my problem?

    But of course I’m terrified that it will shut down the entire site, and I definitely don’t want to deal with that scenario.

    Any help will be greatly appreciated, as I am up against the clock at this point. Thank you!

    I would have used the real url’s but I don’t want this to be searchable for the client’s sake. Thank you.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter rhender

    (@rhender)

    can i bump this to hopefully receive an answer? thx

    Thread Starter rhender

    (@rhender)

    Thanks esmi.

    So according to that link…

    If I go into change the home and url settings in phpMyAdmin, will that change everything for my whole site.

    Or do I need to do something in addition to changing those settings in the database???

    Sounds like you need to set the document root for that add-on domain to point to that folder. By doing this, the /desginer folder will be the main folder for that specific domain. then you need to update the site url and home.

    Thread Starter rhender

    (@rhender)

    Thanks Tim. I have set up that folder as the root on that domain.

    All I need to do is change the url and home, and not have the whole site crash in the process. That’s what I’m trying to figure out.

    I think you’ll be fine.

    Thread Starter rhender

    (@rhender)

    You mean I’ll be fine by just changing the url and home settings in phpMyAdmin???? The site is already fully developed, so I don’t want any broken links after changing these settings.

    And I can’t have it crash, as it is for a client.

    [No bumping, thank you.]

    See the link I gave above. You do not have to use the database method if you don’t want to.

    Thread Starter rhender

    (@rhender)

    Ok, I’ll go reread it. THX,
    but what if I do want to use the database method?….

    That seems easy enough. Change two settings within phpMyAdmin.

    I would prefer that…

    But I’ll reread it…

    yes, you change two settings within phpMyAdmin. Or you can add lines to the wp-config.php file to accomplish the same thing. If you’re links were created within WordPress they will update automatically.

    Thread Starter rhender

    (@rhender)

    Thanks Tim.

    Ok, so I just did that (changed the home and url settings in the database), and the site still comes up…. but now the main navigation is not working.

    When I hover over a link on the main navigation, it does not allow me to click on the links. Is there something I need to change in regards to the main navigation now?

    It seems to have updated the other pages ok, when I looked briefly.

    Thanks for responding Tim. Hopefully I can work this out soon.

    Look at resetting your premalinks in the dashboard and see if that helps.

    Thread Starter rhender

    (@rhender)

    Ok, I will try that. Thanks so much for the quick response. I really really appreciate it.

    No worries! I’ll help you if I can.

    Thread Starter rhender

    (@rhender)

    Man, I can’t thank you enough Tim. You saved my ass.

    When I went to look at the permalink setup in the dashboard… I saw that I had accidentally left a space at the end of my home url, when I edited it through phpMyAdmin. So that is why my links were not working.

    Again, I can’t thank you enough. I was freaking out over solving this.

    Thank you thank you thank you!!!!!! for taking the time to help me!!!!!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘need to change the url for my WP site’ is closed to new replies.