Not sure if this is a pipe-dream, but I am interested in the URL rewriting capabilities (and DNS mapping) of a single-site WordPress install.
Typically in a WordPress MU setup, we’d use WordPress Mu Domain Mapping to map new sites/installs to a domain/CNAME.
What I’d be after is if it’s possible to map a single-entity, like a user to a CNAME on the registrar.
For example, let’s say we have a bunch of users in a single-site install. Ideally, these users would be accessed via YOURSITE.COM/johndoe
(using get_user_by()
which is an additional question).
Then, on the registrar level, you setup a CNAME that has a value of us.OURDOMAIN.COM
and point it to the IP address of the site. From there, WordPress is able to determine that us.OURDOMAIN.COM
should load YOURSITE.COM/johndoe
.
Any initial thoughts on this would be greatly appreciated. Thanks as always!