Grow your CSS skills. Land your dream job.

Avoiding duplicated work

  • # February 25, 2010 at 3:51 am

    Hi Guys,

    One stupid question here. How do you setup your local development environment?

    I just finished to build a big WP website with a lot of content and pictures. Now I need to upload them to the real address. So, I exported the content using Tools->Export and imported there. But now I need to fix all the links and references, because a lot of stuffs are pointing to my local address.

    Any tip how to avoid this headache?

    Best,
    Daniel

    # February 25, 2010 at 12:01 pm

    I don’t use the built in export features to deploy a client site.

    I export the database using Phpmyadmin or mysqldump. Then search and replace http://olddomain.com/subdir with http://newdomain.com/newsubdir in the sql file.

    It’s far more reliable than import/export if you have a lot of posts/pages and it takes WordPress settings and plugin options too.

    # February 25, 2010 at 8:25 pm

    Hi, Thanks.

    I will try to do this.

    Cheers

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".