Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New Coder
    Join Date
    Jun 2015
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Building a new website on another domain while main stays active - how to code & move

    So my main website is ohiocannabis.com and it's on the Invision Power Services platform & I am redesigning a completely new one on the wordpress platform.

    However, I do not want any downtime while I'm building and designing the other one, so i thought I would build the new site entirely on a separate domain.

    It's already setup & live on ohiomarijuana.com

    My question is, when were building links, photos, etc we can try to manually set photos and links & other stuff to ohiocannabis.com, but isn't wordpress going to write a lot of stuff as ohiomarijuana.com?

    So how do we change all of that info easily when we do the data base transfer?

    Also, what happens to all of the links and stuff out there now for all of my current ohiocannabis.com related material, it's basically going to be worthless and I would lose all of my google rankings and everything won't I? It will be like starting from scratch again won't it?

    Second of all, if I am doing this correctly and I need to do a database transfer when finished - this is not an easy task is it? I'm pretty good when it comes to back end hosting stuff, but have never done this before. I know to make backups before hand. My hosting is also with hostgator, any idea if they'll do something like this for free? If not is there a trusted member I could hire for a reasonable fee to do this database move for me?

  2. #2
    New Coder
    Join Date
    Jun 2015
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    anyone?

  3. #3
    Senior Coder durangod's Avatar
    Join Date
    Nov 2010
    Location
    southwestern USA
    Posts
    1,939
    Thanks
    339
    Thanked 49 Times in 47 Posts
    Hi,

    It would help if you can make as many links as possible (in the code) dynamic so that all you would need to do is change one config setting and done. Do you have similar table names in both DB along with similar field names? If not youll have to put together a simple importer bridge which is easy enough to do, you just need to know what the originating value is and where it should go in the new DB. However this rides on the fact that the fields are structured the same, ie integer field to a enum field wont work.

    Personally i think you have quite a challenge on your hands, it can be done but its a challenge for sure. And the bottom line is that there will be issues doing this unless you are a paid professional. Its sort of like trying to fit two pieces of jello together with no seam.

    Maybe the better question would be why are you moving away from your current platform? It might be more cost effective to stay where you are and just spend the money to fix any issues you have.

    PS... we really dont need the site names, at least i dont... and it might be better to remove them anyway due to some people having a huge dislike for that entire business.
    Last edited by durangod; 01-15-2018 at 09:03 AM.
    Remember in PHP you shoot Objects with arrows Example: $name->id; then Arrays are $name['id'];

  4. #4
    Administrator VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    10,920
    Thanks
    6
    Thanked 1,314 Times in 1,284 Posts
    Quote Originally Posted by durangod View Post
    It would help if you can make as many links as possible (in the code) dynamic so that all you would need to do is change one config setting and done.
    Or make them relative, i. e. without any domain name.

    Also, you could just develop your new website on a subdomain of the current domain (e. g. “test.example.com”) and then, once you’re done, with the click of a few buttons, switch the main domain to point to the former development/staging environment. And if something doesn’t work you can also switch back and fix what’s wrong, and then switch forward again.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •