Recovering old family wordpress

[ad_1]

I have a very old wordpress site we ran back in 2010. I have wp-content backup and the sql db. I am trying to import it to a docker container and I keep having problems loading it due to domain name, file paths. I changed sitehome and home but I still have problems, when I go to the root (with port 7780 as that is what I exposed) it goes to ip without 7780 so nothing loads. If I go to :7780/wp-admin, it tries to make me install.

It looks like it was wordpress 3 and myql 5. I was able to pull a mysql 5 image, but wordpress doesn’t go back that far, oldest I found was 4.1.1. I just ended up pulling 6 since i’d have to do an upgrade anyway. I am only looking to get the site up enough so someone can screen shot family pictures and the stories. It’s small wordpress site with maybe 100 posts or so.

I’m not sure what the easiest way to do this is. I manually modified the sql file that gets imported on db startup to change the home/siteurl so it wouldn’t go to the old domain. I guess i could make a host record locally to fake the domain, but I still have the problem with path in the sql db to the old file structure that seems to be causing problem potentially.

[ad_2]
2 Comments
  1. In wp-config, make sure the database prefix matches the one your database is using. Might resolve the installation screen error when going to wp-admin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer