Forums Get help. Give help.

Move files to WP live
  • krysak4everkrysak4ever February 22
    hi,

    know how to install WP, live, on localhost
    how to create database, export and import it

    kinda missed how to transfer your locally developed site (files) to live version?

    1.) install clean WP online
    2.) import XML file or DB in phpMyadmin (structure of posts, pages, comments, ...)

    3.) files, images, ... ?
  • SenffSenff February 22
    From local to live, I usually do this:

    1. EXPORT the local database (as a text-file) in my local phpMyAdmin.
    2. Open it in a text-editor, replace all the instances of http://localhost to http://www.this.is.the.url.of.the.live.site.com , and save it the file.
    3. Drop all tables on my live database (completely wipe it) and import the saved database text file.

    Since I use SVN to sync my files, I usually don't have to move all my files from local to live, it's being done automatically. But if you have to do it manually, I just FTP pretty much everything over -- the root files and everything else in wp-admin, wp-content and wp-includes.

    This should create a 1-on-1 copy of your local install, although I have seen plenty of situations where plugin-settings didn't really transfer.
  • krysak4everkrysak4ever February 22
    will try
  • TheDocTheDoc February 22
    1. Change all local URLs using 'Velvet Blues Update URLs' plugin
    2. Change the two URLs in Settings > General to the new domain
    3. Export database as .sql and import it onto the live server (both via phpMyAdmin)
    4. FTP all files from local to live server
  • krysak4everkrysak4ever February 22
    @TheDoc
    thanks a lot, will look at that



Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

Tips

Just some helpful hints to get the most out of the forums.