I migrated my site from Siteground server to GoDaddy server.
Problem : Homepage not loading correctly.
Search Console issue : merchantModel.js:25 Uncaught TypeError: Cannot read property ‘querySelector’ of null
at timer (merchantModel.js:25)
site domain : http://algoinsights.awesomecashflow.com
new site domain : staging.algoinsights.com
I migrated the site manually.
Here is how I did it:
current site cpanel :
- Enter file manager > compress wp_content > download wp_content.zip & wp-config.php
- Enter phpmyadmin > extract website database
- open website database with ‘sublime text’
- find and replace algoinsights.awesomecashflow.asia to staging.algoinsights.com in the database file
new site cpanel :
- create subdomain : staging.algoinsights.com
- install new wordpress site
- enter file manager > delete wp_content folder
- import wp_content.zip > extract wp_content.zip
- edit wp_config file (user, password, database name, table prefix)
- enter phpmyadmin > drop current database
- import edited website database
So far I did everything correctly, I’m not sure what’s the problem.
I also tried transferring the site without changing all the database links
then use a plugin to change all the link from the old domain to new domain.
The error become worse.
How the homepage current error:
How it supposed to be: