Answer the question
In order to leave comments, you need to log in
Why does it redirect to the local server?
Hello. Transferred the site from Open server to hosting. Based on Wordpress.
Transferred the contents of the root folder on the local to the root folder on the hosting. Moved the database.
Changed wp-config.php in root. Plus made a request to phpadmin:
UPDATE wp_options SET option_value = replace(option_value, 'http://localhost/имя_сайта_на_localhost',
'http://newdomain.ru') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE `wp_options` SET option_value = 'http://адрес-вашего-сайта.ru' WHERE option_name IN ('siteurl', 'home');
Answer the question
In order to leave comments, you need to log in
Hello.
Try to use the Duplicator plugin for transfer . He usually carries it right.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question