skip to Main Content

I just tried to migrate my worpress site to my local host wamp server i did backup database as well as all the files required but still i cant see the whole website i could just see a logo and all themes are gone as well as all the css is not shown however when i go to dashboard i could see all things. I even tried to move it to an online server hosting same issue occurs

2

Answers


  1. Use PHPMyadmin or something to review the wp_options table. It likely still has references to your old server, like '/home/user/directory/' After making a backup copy of that table, find what the correct path is, and use the following MySQL query to correct your wp_options entries

    update wp_options set `option_value` = replace(`option_value`, 
    'OLD/WORDPRESS/DEV', 'NEW/WORDPRESS/SITE');
    
    Login or Signup to reply.
  2. You need to update the sites address in the database. Because the data is serialized you can’t just update it with a simple query. I would recommend running this serialized data tool. I have no affiliation with the tool and it is free. I have used it a ton of times and it works great.

    You will just replace the URL you used on your local machine with the one for the server you are running the tool on.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search