I have a site on a local host, I need to transfer it to a paid hosting. If someone came across, how can this be done in the wp-config.php file without losing information.

Database Name Database Name for WordPress Database Password Database Server Name

  • prescribe new parameters and everything will work - L. Vadim

1 answer 1

This is better and safer to do with the help of plug-ins for migration / cloning. For example https://wordpress.org/plugins/duplicator/ If you swear at a large archive, you can exclude some large directories (eg uploads) and then transfer them manually.