[英]how to change url from http://www.mysite.com/mobile to http://mobile.mysite.com?
i have a directory on my server called mobile. 我的服务器上有一个名为mobile的目录。 basically if a user is accessing my site from a mobile device it will take them to http://www.mysite.com/mobile and in directory mobile is index.php. 基本上,如果用户正在通过移动设备访问我的网站,它将带他们到http://www.mysite.com/mobile,而在移动目录中为index.php。
but i was wondering how people change the browser url address, so instead of http://www.mysite.com/mobile its http://mobile.mysite.com . 但我想知道人们如何更改浏览器的URL地址,因此与其使用http://mobile.mysite.com代替http://www.mysite.com/mobile 。
can anyone please explain/show me how i can do this. 谁能解释/告诉我我该怎么做。 thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.