Moure el lloc de WordPress a un altre domini2

Home
About Us
Investment Philosophy
Contact Us

En aquesta guia, mostrem com moure manualment un lloc existent de WordPress a un nom de domini diferent.

Pas 1: verifiqueu que el lloc web actual funciona

Pas 2 – Descarregar els arxius de la web actual

Pas 3 – Exporta la base de dades

Pas 4: pengeu fitxers al vostre nou domini

Pas 5- Importa la teva base de dades

Pas 6 – Anar a wp_options

Pas 7: actualitzeu el lloc i la pàgina d’inici

Pas 8: actualitzeu els detalls de la connexió a wp-config

Pas 9: comproveu el vostre lloc al vostre domini nou

Pas 10 – Corregiu els enllaços permanents (opcional)

Pas 11 – Arreglar les imatges trencades (opcional)

Pas 12: torneu a comprovar el vostre lloc (opcional)

 

 

Anar a wp_options

localhost/run/mysqld/mysqld10.sock

localhost/run/mysqld/mysqld10.sock


<?php

/**

* The base configuration for WordPress

*

* The wp-config.php creation script uses this file during the installation.

* You don’t have to use the web site, you can copy this file to “wp-config.php”

* and fill in the values.

*

* This file contains the following configurations:

*

* * MySQL settings

* * Secret keys

* * Database table prefix

* * ABSPATH

*

* @link https://wordpress.org/support/article/editing-wp-config-php/

*

* @package WordPress

*/

// ** MySQL settings – You can get this info from your web host ** //

/** The name of the database for WordPress */

define( ‘DB_NAME’,’wordpress’);

/** MySQL database username */

define( ‘DB_USER’,’miquel’);

/** MySQL database password */

define( ‘DB_PASSWORD’,’Beseit1968!’);

/** MySQL hostname */

define( ‘DB_HOST’, ‘localhost’ );

/** Database charset to use in creating database tables. */

define( ‘DB_CHARSET’, ‘utf8’ );

/** The database collate type. Don’t change this if in doubt. */

define( ‘DB_COLLATE’, ” );

/**#@+

* Authentication unique keys and salts.

*

* Change these to different unique phrases! You can generate these using

* the {@link https://api.wordpress.org/secret-key/1.1/salt/ WordPress.org secret-key service}.

*

* You can change these at any point in time to invalidate all existing cookies.

* This will force all users to have to log in again.

*

* @since 2.6.0

*/

define(‘AUTH_KEY’,’PAQvBz7ywvby4rpvMjC4XEPu8ofyaU6ZCiBDQOdPhTfmcKmRFTXga4HInKN0tN+k’);

define(‘SECURE_AUTH_KEY’,’KUsPzRG3Df+MIauDrlLbMB6NIkqaSZ6jYtD5NcSp/zMnJR+KQIYL2wfC+R2BLfoT’);

define(‘LOGGED_IN_KEY’,’IPQN1P1C5zKZPh3/0uXpMCkv07q0diMR0vg8ugRkT9FJ7pMEfq/S5XdgXs9vd7Lb’);

define(‘NONCE_KEY’,’Enlrd7V0QvX6znEuAfmmAuk4eEuMqnkdBH0m3jn+ssAJ+6SgDoD8hCQDN1NOezjK’);

define(‘AUTH_SALT’,’VvLz5N8ap7gpcd7+O/uHZFp6J9EgiZ4lFbg7nU3EOaGfPXL0h+A1R9NXC81Atyu9′);

define(‘SECURE_AUTH_SALT’,’4041iN917fjmC3vjeLa60Nws8GLzmgCNqCTzNNo21eQuCnejGvcdgCHRQvvwMK97′);

define(‘LOGGED_IN_SALT’,’Wlekfl0ZXQGbBcltBXHcZmKsQZ0UdTVJfleLEuot78Xbi0nC3V4XGg9HdJbeuCig’);

define(‘NONCE_SALT’,’MSfwbkmEUzNmPLNHKKiDPLa+foQe4/uhoEvuWPo3YCweyubiPgDSzY8R53cUWmcV’);

/**#@-*/

/**

* WordPress database table prefix.

*

* You can have multiple installations in one database if you give each

* a unique prefix. Only numbers, letters, and underscores please!

*/

$table_prefix = ‘wp_’;

/**

* For developers: WordPress debugging mode.

*

* Change this to true to enable the display of notices during development.

* It is strongly recommended that plugin and theme developers use WP_DEBUG

* in their development environments.

*

* For information on other constants that can be used for debugging,

* visit the documentation.

*

* @link https://wordpress.org/support/article/debugging-in-wordpress/

*/

define( ‘WP_DEBUG’, false );

/* Add any custom values between this line and the “stop editing” line. */

/* That’s all, stop editing! Happy publishing. */

require_once __DIR__ . ‘/syno-wp-config-custom.php’;

Deixa un comentari

L'adreça electrònica no es publicarà. Els camps necessaris estan marcats amb *

Aquest lloc utilitza Akismet per reduir els comentaris brossa. Apreneu com es processen les dades dels comentaris.