plugins - Wordpress drop domain alias

admin2025-06-06  5

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 badge
Add a comment  | 

1 Answer 1

Reset to default 0

If 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

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749168725a316940.html

最新回复(0)