Why when you transfer Wordpress redirects to old domain?

Was pure html + css, I created a template for VP, did on LAN, then we take all the VP files I throw on the hosting to yourself, shake dump the database, change all the old URLs to the new ones, change in config.php the connection details to the database, go to the link on the flooded hosting, and he gave me redirects to local address.. What is this your first, so no crap it was
July 8th 19 at 11:12
3 answers
July 8th 19 at 11:14
Solution
As it turned out I was 2 hours could not solve the problem, but just something we had to try in a different browser, anyway.
July 8th 19 at 11:16
Endure using the plugin Duplicator.
Thanks for the plugin, but he didn't - Kennedi_Thompson commented on July 8th 19 at 11:19
July 8th 19 at 11:18
In the DB in the wp_options table change siteurl and home fields to your new domain.
phpMyAdmin help
Everything was in order - Kennedi_Thompson commented on July 8th 19 at 11:21
Then it is necessary to specifically see what was happening, because from the description the problem is not clear - Kennedi_Thompson commented on July 8th 19 at 11:24

Find more questions by tags WordPress