I have transferred the WordPress site from the local host to the cPanel host and actually transferred the site
All actions such as: connecting to a new database, modifying links in database tables and…
And now I can enter the counter management panel, but the problem is something else
According to the console tab in inspect, some files are still trying to be loaded in the previous address, which is local, and this has caused the appearance of the site to interfere.
How do I solve this problem?
2
Answers
I use a WordPress plugin called
All-in-One WP Migration
this plugin will give you an option to find and replace text in your install. When you are at the section of find and replace, you should find all the instances that the site is referring to the local address and replace them with the live address.Also, for thing like photos you dont need to include the domain in the
src
So
Can be written as
And this will save you a small headache in the future!
Try adding in an assets folder like the wordpress codex theme structure basics
Inside your
./assets/images/
Add in the missing files
dir
and mention the in srcFor Example