php - WordPress site isn't working after I migrated site - changed site address (URL) -
i migrated local computer live server using duplicator. when switched over, wordpress address (url) http://107.343.442.344 - ip address - , site address (url) http://nameofwebsite.com. appears working fine.
however, when add item cart , try delete it, doesn't remove item. check console , there's failed ajax request. it's requesting information http://107.343.442.344. so, change site url http://107.343.442.344 , works fine. however, can't go front page.
i tried making these changes database (wp-options), nothing works.
does know can correct problem. i've contacted woocommerce, they're taking forever.
my site not up, can't go it.
easiest way how migrate site localhost server:
- copy local site files web server
- install , activate "wp migrate db" plugin local site, it's free , got functionality need.
after "wp migrate db" activation find under "tools" > "migrate db". open "migrate db", there empty "replace" block 2 fields need fill (look @ picture below).
these 2 fields 1 need fill, after click on "export" button , plugin download mysql database.
login hosting cpanel (or other webhosting management app if hosting doesn't provide cpanel, example, ispconfig etc.) , create new database or replace old 1 created "wp migrate db" plugin.
open , edit wp-config.php file on public_html folder on webserver, replacing database name , other authentification credentials (change database name, database user , password created in cpanel) , save file.
done, enjoy. :)
Comments
Post a Comment