To migrate WordPress from a domain to another one of form manual

We are going to see as step by step migrating WordPress from a domain to another one.

Step 1. To copy all the content of our WordPress, to copy all the archives and folders.

Step 2. To enter PhpMyAdmin (or any other database manager), and we exported the data base. Simply we entered our data base and we give the option to export.

Step 3. To concern the data base in your local MySQL or any other remote servant.

Step 4. To execute the following SQL on the data base that we finished mattering, and to change the domains by yours.

1
2
3
4
5
UPDATE wp_posts SET guid = REPLACE (guid, €˜dominio.viejo.mx€™, €˜dominio.nuevo.mx€™ );
  
UPDATE wp_posts SET post_content = REPLACE (post_content, €˜dominio.viejo.mx€™, €˜dominio.nuevo.mx€™ );
  
UPDATE wp_postmeta SET meta_value = REPLACE (meta_value, €˜dominio.viejo.mx€™, €˜dominio.nuevo.mx€™ );

UPDATE wp_options SET option_value = REPLACE (option_value, €˜dominio.viejo.mx€™, €˜dominio.nuevo.mx€™);

Step 5. Podriamos to include update by SQL of the table wp_options, but can cause that the configuration of our subject is broken and we must do it again, etc. Then enters of form manual this table and pon your new domain and to change to the domain in option_name site, home, and any other site where you see that it is the old domain. You can make a search in that table to remove the fields where it is the old domain.

This is everything to migrate WordPress from a domain to another one, or of the servant to localhost or localhost to the servant.

  • to migrate wordpress, wordpress from a domain to another one
  • 0 the Users Have found This Useful one
Was useful the answer?

Related articles

What is WordPress?

What is WordPress? WordPress (WP or Word Press) is a platform CMS that allows the management of€¦

Problem memory_limit of Wordpress

It gets to happen that in some process of WordPress as the configuration of warms up to you or some€¦