WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently working on a project, actually we have an online site, we are thinking of revamping this. On this online site we have many blogs already.

We have purchased a theme also and doing many customization on localhost.

How is this possible to update the theme with customization and pages on online server from localhost without affecting the blog posts?

share|improve this question
Good themes don’t change post content, so you can just push it to the server. – toscho Jul 2 '13 at 7:15
You want to upload whole project and database every thing. or just some files or data – Adi Jul 2 '13 at 7:16
up vote 2 down vote accepted

This depends on your set up. You essentially have two things to move, the Files (images, css, js, php) and the Database.

Moving the theme files is easier, I tend to zip all the theme files on localhost (wp-content > themes > your theme) then install it on the live site under themes > upload which lets you add the zip.

EDIT: You can also use ftp to move the files but it seems to be slower and not as clean.

Now moving the database which controls the pages and menus things get a bit more tricky. It depends on a few things,

  • If you don't have any data on the live site (or want to start fresh) you can simply move the database but you will lose all other data on the site
  • If you have data on the live site you can use the export then import to move post and pages however this will not move the menus.
  • I typically recreate the pages/menus on the live site then add the theme.

Hope this helps.

share|improve this answer
thanks BandonRandon – lord_linus Jul 2 '13 at 7:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.