[wp-hackers] Website transfering

Rafael Ehlers rafaehlers at gmail.com
Sun Aug 28 22:37:00 UTC 2011


Just found and replace wont work because of the serialized arrays:

1. Export your local DB
2. Upload your files to online FTP
3. Import your DB online
4. Upload this script to the root of your WP installation
http://interconnectit.com/124/search-and-replace-for-wordpress-databases/
5. Run this search and replace script (
http://www.domain.com/searchreplaceDB.php)
6. Check if you have permissions to write on your root (.htaccess)
6. Log in your wp-admin
7. Resave (regenerate) your permalinks
8. Test your site, must be working properly

I do this all the times, an it's perfect.

ps.: Looks like they have updated the searchreplace script, haven't tested
it yet.

Best regards,

On Sat, Aug 27, 2011 at 1:24 PM, Jason LeVan <jason at codeclarified.com>wrote:

> If you're directly transferring the whole site to a fresh install, what
> about exporting the db, running a find/replace, and importing that to your
> new database, takes care of all old references in posts, options, media.
> On Aug 27, 2011 12:17 PM, "Jonny Cauvain" <furcifer at furcifer.me> wrote:
> > That's exactly what I did Chip, but everytime there have been a few
> images
> > that I've had to alter manually.
> >
> > On Aug 27, 2011 5:03 PM, "Chip Bennett" <chip at chipbennett.net> wrote:
> >>
> >> You *shouldn't* have had to, if:
> >>
> >> 1) All images were *attached* to the posts, rather than linked, and
> >> 2) You enable the checkbox to download/attach all attachments on import
> >>
> >> Chip
> >>
> >> On Sat, Aug 27, 2011 at 10:27 AM, Jonny Cauvain <furcifer at furcifer.me
> >>wrote:
> >>
> >> > Not quite, john, I've had to manually change picture links in posts
> more
> >> > than once.
> >> > On Aug 26, 2011 11:01 PM, "John Blackbourn" <johnbillion+wp at gmail.com
> >
> >> > wrote:
> >> > > On 26 August 2011 22:27, Pasquale Puzio <pasquale.puzio at gmail.com>
> >> > wrote:
> >> > >> Hi all,
> >> > >>
> >> > >> I would move a website from a folder (initially called "beta") into
> >> > another
> >> > >> folder.
> >> > >>
> >> > >> In theory this operation is very simple in post and page contents
> > there
> >> > are
> >> > >> a lot of images with the old path and I would avoid manually
> editing
> > all
> >> > >> posts and pages replacing the old path with the new one.
> >> > >>
> >> > >> Someone of you has some suggestion for me?
> >> > >
> >> > > Someone will probably correct me if I'm wrong, but I'm fairly sure
> >> > > this is all handled by the WordPress export and import system, so it
> >> > > might be easiest to use that. When you import a WordPress XML file
> >> > > it'll replace all instances of the domain name you're exporting from
> >> > > with the domain name you're exporting to.
> >> > > _______________________________________________
> >> > > wp-hackers mailing list
> >> > > wp-hackers at lists.automattic.com
> >> > > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >> > _______________________________________________
> >> > wp-hackers mailing list
> >> > wp-hackers at lists.automattic.com
> >> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >> >
> >> _______________________________________________
> >> wp-hackers mailing list
> >> wp-hackers at lists.automattic.com
> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list