I’m wondering if there’s a way to set up a system such that any attempts to reach the (non-existent) subdomain username.website.com would instead be redirected to (for example) www.website.com/code.php?id=username.
I do have one or two actual subdomains up already, which I hope would not be affected by this setup.
I suspect this would involve editing .htaccess, but my familiarity with the vagaries of .htaccess is rather limited.
Any help would be appreciated. Thanks in advance.