I have never been able to figure out how to do this.
I am working on a PHP script. With my script, each user will have access to their own site.
For example, the URL for this would be
myscript.com/frontend/username where this uses an htaccess file to generate their site based on the username in the URL. (hope this makes sense).
Now I want to make it so that they can have their domain point to this.
For example, lets say their domain name is
I want to make it so that, say if someone visits
theirsite.com/about it really points to
theirsite.com/aboutshould point to
theirsite.com/blog/post-12should point to
theirsite.comshould point to
How do I do this?