I have a site called mydomain.com . I am crating ‘sites’ folder in it where I will be creating many sites for my users . I want for example for a user ‘Jack’ create a folder called ‘jack’ so now they can access their page via mydomain.com/sites/jack .
So my question is how to make my users go mydomain.com/jack but still see the content of the above url and also make ‘mydomain.com/sites/jack’ sorts of urls forbidden .
Thanks very much for your time !!!
I have a site called mydomain.com . I am crating ‘sites’ folder in it
Share
Try adding this to the htaccess file in your document root: