.htaccess - Show url of a subfolder as a subdomain with htaccess -
Hope someone can help me find a way to show the URLs of a website folder like a subdomain .
Let's say I have website www.example.com and subfolder www.example.com/sub. Is it possible to show the URL www.sub.example.com instead of www.example.com/sub using the htaccess' url rewrite, without moving the sub folder's resources to the "real" sub-domain? In other words, is it possible to change only the address of the sub folder?
Thank you very much.
"post-text" itemprop = "text">
You can create this subdomain in the Hosting Control Panel, which can be a cleaner method ... you can see the same thread here:
Comments
Post a Comment