WordPress Immigration/transfer and Database Modification

You finished your WordPress website on your localhost then transferred all files and DB but this is not enough to get it work! Because many link in the DB are still pointing the localhost.

If you check wp_postmeta table in meta_value column you'll see them like http://mysite.dev/wp-content/uploads/2015/03/127880648.jpg

mysite.dev is local domain (configured in VHOST) so we must replace this with the real domain like thesite.com with this SQL command.

To change all links in all rows;

I've found this link is also interesting about immigration WP.

Published on: 2015/06/05

Leave a Reply

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram