是否可以为移动版和桌面版提供相同的URL? 我不是指一个响应式网站,而是一个完全独立的移动网站,拥有自己的index.php,css和js文件。 p>
我希望URL保持不变,如果用户从移动设备进入网站 如何实现? p>
div> example.com code>,它会重定向到适当的移动索引 版本但URL仍然是
example.com code>而不是
m.example.com code>。 p>
Is it possible to have the same URL for both the mobile and desktop versions? I don't mean a responsive site, but a completely separate mobile site with his own index.php, css and js files.
I would like the URL to remain unchanged and if the user enters from a mobile device to the website example.com
it redirects to the appropriate index of a mobile version but the URL still remains example.com
not m.example.com
.
How can that be achieved?
是否可以为移动版和桌面版提供相同的URL? 我不是指一个响应式网站,而是一个完全独立的移动网站,拥有自己的index.php,css和js文件。 p>
我希望URL保持不变,如果用户从移动设备进入网站 如何实现? p>
div> example.com code>,它会重定向到适当的移动索引 版本但URL仍然是
example.com code>而不是
m.example.com code>。 p>