WordPress.org

Ready to get started?Download WordPress

Forums

Updating live wordpress sites... how? (14 posts)

  1. waseembari1985
    Member
    Posted 2 years ago #

    Hi

    I have few wordpress sites, which receives huge traffic 24/7. Whenever I want to update, it makes me in trouble that my website must not affected directly while working live. Sometime code or design conflict can occur and makes more problems, I want when I update site, this will work smoothly until I upload/make new changes open for everyone to see changes.

    Please help & guide me on this.

    Regards
    Waseem

  2. Brad Markle
    Member
    Posted 2 years ago #

    What I would recommend is that you setup a duplicate blog and then run your testing first. For example, if your wordpress site is at domain.com, setup the same blog at dev.domain.com and then test your upgrades there. Once you have a smooth process for upgrading your dev.domain.com site, you can then more efficiently update domain.com because you'll know what type of issues to expect.

  3. Nikki Blight
    Member
    Posted 2 years ago #

    That is precisely why most people run two copies of their site. One live and one for testing that only they have access to. You run updates on your test site before you attempt them on your live site.

  4. waseembari1985
    Member
    Posted 2 years ago #

    OK but what about the database? If I apply one theme on test site, change it or something like this, will it also go on live site? How do I control this?

  5. Brad Markle
    Member
    Posted 2 years ago #

    You can use phpMyAdmin to duplicate the database so that your dev site runs off of a copy of the original site. After duplicating the database, simply update your wp-config file to reflect the new database name.

  6. If I apply one theme on test site, change it or something like this, will it also go on live site?

    No, it won't. You can either take REALLY good notes and manually re-apply the changes, or look into something like http://crowdfavorite.com/wordpress/ramp/

  7. Dunhamzzz
    Member
    Posted 2 years ago #

    Ipstenu, I'd have thought you'd suggest making a child theme?

  8. That won't help you in this case :)

    Making a child theme is great for when you want to make changes to a theme in general, but if you're talking about TESTING changes and deploying them, that's different. Your widgets don't carry over between theme changes, for one thing, and your content certainly won't if you're bouncing between test site and live site.

  9. waseembari1985
    Member
    Posted 2 years ago #

    Ok thanks, is there any wordpress plugin to do all this or something that can help me for testing site on separate domain & all this...?

    Also tell me the steps to be taken in making a copy of my running blog & all this.

    How will I protect my test site from indexing in search engines?

    Regards

  10. Brad Markle
    Member
    Posted 2 years ago #

    For making a copy of your site, you should be able to follow the steps here:
    http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server
    There not specific for what you're trying to do, but the same steps apply.

    As long as you don't give the links out to the dev site anywhere on the web, search engines will not find it and therefor it won't be crawled. Also, if you're using something like cPanel, you can password protect your dev site so a username and password is required to even access it.

  11. waseembari1985
    Member
    Posted 2 years ago #

    Ok thank you very much wordpress fellows.

    It was useful info for me.

    Thanks again.

  12. waseembari1985
    Member
    Posted 2 years ago #

    Hi

    I am facing a problem of sub dreiectory access from domain.

    I have a sub folder called "dvp" under domain.com but cannot access it from my sub domain & gives 404 error.

    How can I get out of it?

    Regards

  13. Brad Markle
    Member
    Posted 2 years ago #

    I have a sub folder called "dvp" under domain.com but cannot access it from my sub domain & gives 404 error.

    Hi waseembari1985, an issue like this is best dealt with by contacting your web host. Your web host will be able to view your file structure and your DNS settings for your sub domain, and would be able to quickly pinpoint what the issue.

  14. waseembari1985
    Member
    Posted 2 years ago #

    Thanks imh_brad

Topic Closed

This topic has been closed to new replies.

About this Topic