my client try to change domain without me and now, when you try to go into it will change into this site http://davidpros/ I can not change it in wordpress admin. So can somebody tell me how to change it in files? I can connect into server by FTP.
my client try to change domain without me and now, when you try to go into http://klenotnictvi-benesov.cz it will change into this site http://davidpros/ I can not change it in wordpress admin. So can somebody tell me how to change it in files? I can connect into server by FTP.
Share Improve this question asked Nov 19, 2018 at 21:32 MilouselMilousel 31 bronze badge1 Answer
Reset to default 0If you are NOT using WordPress MultiSite add the following in wp-config.php.
define( 'WP_HOME', 'http://klenotnictvi-benesov.cz' );
define( 'WP_SITEURL', 'http://klenotnictvi-benesov.cz' );
If you ARE using WordPress MultiSite you will need to access the database directly and edit the wp_options table and change "siteurl" & "home" to the correct url.
Here is more info on changing the site URL