Commit 1ab29ae9897fce1ed74e5146d85c35899406514f
1 parent
aea7f4b2a6
Exists in
master
Creacion del gitignore y README
Showing
3 changed files
with
15 additions
and
4 deletions
Show diff stats
.gitignore
| ... | ... | @@ -0,0 +1 @@ |
| 1 | +wp-config.php | ... | ... |
README.md
| ... | ... | @@ -0,0 +1,10 @@ |
| 1 | +Estas son las cuatro sentencias SQL que debes insertar de manera independiente. Insertas una, editas los campos ‘dominioantiguo.com’ y ‘dominionuevo.com’ y das a continuar.(Nota: donde dice dominioantiguo.com escribe el dominio antiguo de la web que estás migrando, y en dominionuevo.com pon el nuevo dominio en el que estás migrando la web). | |
| 2 | +UPDATE wp_options SET option_value = REPLACE ( option_value, ‘dominioantiguo.com’, ‘dominionuevo.com’ ); | |
| 3 | + | |
| 4 | +UPDATE wp_posts SET guid = REPLACE ( guid, ‘dominioantiguo.com’, ‘dominionuevo.com’ ); | |
| 5 | + | |
| 6 | +UPDATE wp_posts SET post_content = REPLACE ( post_content, ‘dominioantiguo.com’, ‘dominionuevo.com’ ); | |
| 7 | + | |
| 8 | +UPDATE wp_postmeta SET meta_value = REPLACE ( meta_value, ‘dominioantiguo.com’, ‘dominionuevo.com’ ); | |
| 9 | + | |
| 10 | +Si has hecho todo de manera correcta, enhorabuena, ya has completado todo el proceso de migración | ... | ... |
wp-config.php
| ... | ... | @@ -20,16 +20,16 @@ |
| 20 | 20 | |
| 21 | 21 | // ** MySQL settings - You can get this info from your web host ** // |
| 22 | 22 | /** The name of the database for WordPress */ |
| 23 | -define('DB_NAME', 'publicaciones'); | |
| 23 | +define('DB_NAME', 'publicaciones2'); | |
| 24 | 24 | |
| 25 | 25 | /** MySQL database username */ |
| 26 | -define('DB_USER', 'desarrollo'); | |
| 26 | +define('DB_USER', 'root'); | |
| 27 | 27 | |
| 28 | 28 | /** MySQL database password */ |
| 29 | -define('DB_PASSWORD', 'Einzeen6K'); | |
| 29 | +define('DB_PASSWORD', '123456'); | |
| 30 | 30 | |
| 31 | 31 | /** MySQL hostname */ |
| 32 | -define('DB_HOST', '167.134.102.87'); | |
| 32 | +define('DB_HOST', 'localhost'); | |
| 33 | 33 | |
| 34 | 34 | /** Database Charset to use in creating database tables. */ |
| 35 | 35 | define('DB_CHARSET', 'utf8'); | ... | ... |