简体   繁体   English

iPhone Wordpress移动网站-自定义CSS与.htaccess重定向

[英]iPhone Wordpress mobile site - custom CSS vs. .htaccess redirect

I am setting out to build a mobile version of a Wordpress site for the iPhone using iWebKit and the native Apple Safari API; 我打算使用iWebKit和本机Apple Safari API为iPhone构建Wordpress网站的移动版本; however I am not sure wether to use custom CSS to hide/display certain elements of the page, or to redirect the user to a new site (ex. www.example.com/iphone). 但是,我不确定是否可以使用自定义CSS隐藏/显示页面的某些元素,或者将用户重定向到新网站(例如www.example.com/iphone)。

What are the benefits to both? 两者都有什么好处? Which do you recommend? 您推荐哪个?

Thanks for any input, and happy Sunday! 感谢您的输入,祝您星期天快乐!

我宁愿使用自定义CSS,也不愿创建第二个od网站,这最终将意味着您将必须维护两个相同的网站(内容明智)。

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

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