Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
I copy the same instructions for everyone who asks the same thing - "how to solve WordPress problems after a manual transfer":
In the modern world, WordPress does this:
https://wordpress.org/plugins/duplicator/ - put a plugin.
We go into it, click "Create package". Next, next, next.
We get installer.php and archive. Upload them to a new hosting (domain, folder - it doesn't matter). Run site.com/installer.php. Enter a new username and password for the database.
Next, next, next.
At the end, follow the instructions on the screen - log in to the vp, resave the permalinks. Delete the installer files and the archive.
Everything. Everything has been moved. No problems with paths, etc.
First option: Download the database in sql. Open it in notepad++. Press ctrl+h to replace the old domain with the new one throughout the file. Then you delete all the data from the database and import the modified file.
Second option: In wp-config.php (located in the root folder) you write 2 lines:
define('WP_HOME','new domain');
define('WP_SITEURL','new domain');
Perhaps there is some kind of SEO plugin that stores the readerects in the database.
Stop transferring sites to production by hand, 21st century.
https://github.com/wp-sync-db/wp-sync-db
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question