The script is awesome - would love to make it work somehow, or as you say try .htaccess. I am using Apache, on Debian 10 but at the moment I'm struggling a bit with the domain. Something is wrong somewhere, making 'dotheton.com' not work, but www.dotheton.com does work. My A/AAAA records are fine etc.
Xenforo also seems to put its own .htaccess file in the forum root directory. I need to correct some config issues on my end as I installed the forum in /forum but I've ended up with my domain root as being /forum, so the site appears to be in the root of the domain, not in the /forum directory. Long story.
If there was a way to incorporate your mapping script into .htaccess or the Xenforo index.php, that would be ideal - and I'd pay for the service happily. After 12 years of SMF, we have thousands of links in the world pointing to the old forum.
Xenforo also seems to put its own .htaccess file in the forum root directory. I need to correct some config issues on my end as I installed the forum in /forum but I've ended up with my domain root as being /forum, so the site appears to be in the root of the domain, not in the /forum directory. Long story.
If there was a way to incorporate your mapping script into .htaccess or the Xenforo index.php, that would be ideal - and I'd pay for the service happily. After 12 years of SMF, we have thousands of links in the world pointing to the old forum.