WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] development question (5 posts)

  1. stephenjames716
    Member
    Posted 4 years ago #

    hey everyone,

    thanks for taking a look at my post.

    I am working on updating my site, and to do so I have setup a sub-domain, and installed a copy of the original site, along with all the same database files.

    my original site is http://www.blockclubonline.com, and the development site is new.blockclubonline.com

    my question is in regards to updating the original site with the development site (once I am done with the changes) in order to basically erase the old site, and only show the new one?

    would it be as simple as copying over all the wp-content files with the updated ones, and then deleting the original database and installing the new, updated one?

    thank you for your time and help!

  2. jonradio
    Member
    Posted 4 years ago #

    My suggestion would be to move your original site to old.blockclubonline.com (or a subfolder, if you prefer) and your new site to (www.)blockclubonline.com by following the "Moving_WordPress_Within_Your_Site" instructions here:
    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site

    In your case, there should only be three steps for each Move:
    (1) Move the files (the entire WordPress folder, not just wp-content)
    (2) Change wp-config.php
    (3) Change the URI (in the database, which can be done through the Admin panel) for the Blog and WordPress's files

    Don't change which database each uses. For example, when you move new.blockclubonline.com to http://www.blockclubonline.com, the database used by new.bl... will now be used by http://www.bl....

  3. stephenjames716
    Member
    Posted 4 years ago #

    thank you!

  4. johnoeffinger
    Member
    Posted 4 years ago #

    we're looking at taking the same approach but with one difference. The current site is using mySql 4.x and the updated site will use 5.0. Will this make a difference? Thanks for your help.

  5. jonradio
    Member
    Posted 4 years ago #

    No, the same approach will work when a MySQL version change is involved. But you probably want to do a little more testing just after making the move, to be sure that everything works as you expect, especially plug-ins.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.