• Hey There

    I am new to this forum so wanted to introduce myself and say Hi. I also have a question:

    I build WordPress sites regularly for a small web design company in Atlanta. Our process includes building the site on either our local machine or a dev site hosted by Site5 (accessed by IP address). We then transfer the site from our machine to the host and switch to the proper domain name.

    My question is this: What are the best practices while developing a site that will make it easily transfer and convert over once we switch domain names?

    We often times will have to go through and change every page link and image link to go with the domain.

    Let me know of any suggestions you have, and sorry if this is a dumb question.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Every time I have to transfer sites, I use this script.

    There’s also several search-and-replace plugins available, but I haven’t used them. For me installing aplugin is a big overhead for getting the same functionality that I get from that one small bit of code that you delete when you’re finished with it anyway.

    If you feel comfortable editing the database directly, you can use something like this, for changing URL’s in content and in the site options.

    https://gist.github.com/ammist/1183000

    Editing the DB directly won’t do anything useful to serialized URL’s (such as in theme or widget options), so in that case you’d be better off using a PHP script that deserializes and re-serializes them, such as the one that @catacaustic suggests above.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Linking files for easy transfer’ is closed to new replies.