Change from html to geodirectory site

This topic contains 1 reply, has 2 voices, and was last updated by  Guust 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #470826

    Ron
    Full Member
    Post count: 48

    Now that version 2 is out of beta we are going to convert our static site to geodirectory.

    What is the best practice for setting up a staging site ? We have a vps account. I checked with our host and they recommended that we do a subdomain rather than subdirectory.

    url is usmenuguide.com Here is their response

    ————

    Actually, I’d recommend a *subdomain* not a subdirectory.

    Something like monasfun.usmenuguide.com or whatever you prefer.

    It’s easier to update URLs if they only involve a domain instead of a subfolder. You’re going to need to do that when you go live.

    And then when you’re ready to go live, all you’d need to do is rename the existing public_html directory to public_html.old (or whatever) and the rename the docroot of the subdomain to public_html. And, of course, update any URLs in the database (that’s usually the siteurl and home fields in the wp_options table and you can do that in phpMyAdmin).

    If that sounds like a plan and you’d like me to set up WordPress in monasfun.usmenuguide.com then let me know what admin username you’d like to use. You should never use “admin” as the WordPress admin user since it’s obviously too easy to guess.

    #470873

    Guust
    Moderator
    Post count: 29970

    Yes, that will work. You probably will need their help with the rename the docroot of the subdomain to public_html.

    “And, of course, update any URLs in the database” will not be enough, all URLs will need to be changed across the whole database, review this: https://wpgeodirectory.com/docs/better-search-replace-plugin/

    So it really does not matter, changing all the URLs is the same process, regardless of using a subdomain or subdirectory.

    Personally, I find subdirectories easier, but that is just my preference.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount