Images do not show after moving site from localhost to server
-
After I transferred my XAMPP site onto my iPage server, everything is okay except the images. All images do not show up. Here is my site: https://www.sudongyue.com/writing. I believe there must be something in the database that are still pointing to the my localhost instead of my server.
Here is what I did with the database. I exported localhost database .sql file and imported it into my server’s database, then in the wp-option, I changed the siteurl and home from localhost to server.
Since the images not working, I try another way. In the localhost database.sql file, I did a search and replace “localhost/…/wordpress.” and then imported it into the server phpmysql. It did not work. The site was messy.
How to fix this? Please help. It is driving me crazy. It does not seem to be a complicated problem, but I have been searching answers and none of them work.
- The topic ‘Images do not show after moving site from localhost to server’ is closed to new replies.