I always use the wp cli utility in cases like these, when I have command line access to the (current) web server.
https://wp-cli.org/ https://developer.wordpress.org/cli/commands/search-replace/ e.g. wp search-replace 'http://expired.com/my_wordpress_site' \ 'https://www.mywordpresssite.com' --dry-run --skip-columns=guid review the output, then remove the --dry-run option to actually update the database. The fact that wordpress still saves the site URL all over the place in the database is more than a little ridiculous. Hope that helps! John On Wed, 2023/11/29 12:15:34PM -0500, Don Tai via talk <talk@gtalug.org> wrote: | https://www.wpbeginner.com/wp-tutorials/how-to-change-your-wordpress-site-urls-step-by-step/ | | try this, options 2-4 should work | | On Wed, 29 Nov 2023 at 11:40, William Witteman via talk <talk@gtalug.org> | wrote: | | > I am hoping to benefit from the experience of the group. | > | > I have to recreate a wordpress-based website for work, from partial | > information. | > | > I have a database dump, and the contents of the web root - which gives me | > hope that this is possible. | > | > What I don't have are any configuration files for the webserver, and this | > wordpress site used to live as a subfolder of another domain which has not | > been renewed - like http://expired.com/my_wordpress_site | > | > I also don't have the .htaccess file for the site. | > | > I put the files on my local Debian box, and re-created the database, but | > all the links on the site are broken, because they still try to resolve | > expired.com. I changed the siteurl in wordpress, but the problem | > persists, and I am at a loss. | > | > Anyone have any advice? --- Post to this mailing list talk@gtalug.org Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk