❓ What happened?
My wordpress instance was hosted at https://kayg.org, however I replaced it with Quartz before exporting / importing content. Therefore, I need it accessible over at https://wp.kayg.org so I can squeeze some content out and decommission it for good. I tried to access the instance over the private IP address directly by exposing the IP with tailscale subnet routers… but that did not work because the site is configured to be available only over HTTPS and at a specific address. 😔
🎤 How do we fix this?
- Explicitly add these values to the
wp-config.phpfile that define what the site’s URL is:
- Change the
siteurlvalue in the mariadb database too in the
wp_optionscolumn. This can be done with a GUI like Adminer or PhpMyAdmin or over the command-line. This is how it’s done over the command-line:
- Open the database as the root user:
- Update the
siteurloption in the
And then the broken homepage and the admin page show up as intended!