简体   繁体   English

移动主题子域下相同的 WordPress

[英]Same WordPress under sub domain for mobile theme

This is just a beginner question, but i'm stuck.这只是一个初学者问题,但我被卡住了。 The best option i can find so far is using mobify and use their system then i change my subdomain cname to them.到目前为止我能找到的最好的选择是使用 mobify 并使用他们的系统,然后我将我的子域 cname 更改为他们。
But unfortunately mobify is not compatible with my data, since i have a small custom ecommerce site.但不幸的是,mobify 与我的数据不兼容,因为我有一个小型自定义电子商务网站。
So what i want to do is redirecting my mobile visitors to subdomain for example: m.domain.com所以我想要做的是将我的移动访问者重定向到子域,例如:m.domain.com
i can make a plugin to check the visitors device and redirect them to subdomain.我可以制作一个插件来检查访客设备并将他们重定向到子域。
My problem is, can i use the same WordPress (all posts and settings) at the subdomain (m.domain.com) and load the mobile theme?我的问题是,我可以在子域(m.domain.com)上使用相同的 WordPress(所有帖子和设置)并加载移动主题吗?
If you experience any advice is greatly appreciate.如果您遇到任何建议,将不胜感激。
Thanks and Best regards谢谢和最好的问候
Ivan伊万

have you seen this or this ?你见过这个这个吗?

Short version: just install this plugin :-)短版:只需安装此插件:-)

Hope this helps希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM