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:

  1. copy local site files web server
  2. 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).

enter image description here

these 2 fields 1 need fill, after click on "export" button , plugin download mysql database.

  1. 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.

  2. 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.

  3. done, enjoy. :)


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -