Answer the question
In order to leave comments, you need to log in
How to fix Not found issue after migrating wordpress site from domain to another?
Hello, I transferred my WordPress site through a domain to another one using this command in the site database in phpMyAdmin:
UPDATE wp_options SET option_value = REPLACE(option_value, 'http://olddomain.ru', 'http://newdomain.ru') WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET guid = REPLACE(guid, 'http://olddomain.ru','http://newdomain.ru');
UPDATE wp_posts SET post_content = REPLACE(post_content, 'http://olddomain.ru', 'http://newdomain.ru');
Answer the question
In order to leave comments, you need to log in
Hello!
Remove htaccess
Go to settings - Permalinks and save/update settings.
Should work.
I hope that the changes in the database are made correctly
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question