Serving a single WordPress instance on multiple domains

Many years ago I wanted to be able to host this blog on but Tor and the regular internet. A problem I ran into with WordPress is all the URLs it generates use the configured domain name for the blog. This issue made it so clicking a link while accessing the site via Tor took you away from the Onion address and back to the regular internet. Sorta defeated the purpose of having an Onion address.

I eventually stumbled across the multi-domain plugin which was original maintained by Gustavo Straube, then development/support was discontinued many years ago. It was supposedly picked up by goINPUT but nothing has been done with the plugin since that happened in 2021.

Since it’s the hip thing to do these days, I had Claude Code give the original plugin a quick audit against modern WordPress Plugin standards and it found enough areas for improvement I decided to vibe a rebuild.

Here are the results (in the release notes for v1.0.0) for anyone interested.

There was a bug in v1.0.0 that caused content not to render so I recommend using the latest version.

The old plugin isn’t broken or anything. I was concerned it might age out after a PHP or WordPress upgrade sometime in the near future and it really feels abandoned at this point. My hope is the vibed version should also last many years and now I can maintain it as needed.

Once installed, configuration is fairly straight forward:

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.