0

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?

2
  • Good themes don’t change post content, so you can just push it to the server.
    – fuxia
    Commented Jul 2, 2013 at 7:15
  • You want to upload whole project and database every thing. or just some files or data
    – Adi
    Commented Jul 2, 2013 at 7:16

1 Answer 1

2

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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