关于WP Super Cache与WPtouch冲突问题的解决

上午给网站所有页面设置好伪静态以后,发现后台有个大大的提示,WPtouch不再加载什么的,用手机打开网站,果然WP没有工作了,然后根据网站的提示,进入页面 Configuring cache plugins for WPtouch 根据提示逐步修改。

WP Super Cache

The native support for the free version of WPtouch found in WP Super Cache (under the “Plugins” tab) must be disabled to prevent conflicts in WPtouch Pro.

  1. In the Advanced tab of the WP Super Cache settings select “Mobile Device Support”* and click “Update Status”.
  2. Still in the Advanced tab, scroll down to the “Rejected User Agents” area. Paste the entire list of mobile user agents found below and click “Save UA Strings”.
  3. If you have added support for additional mobile devices in WPtouch Pro’s Compatibility > Custom User Agents field, you must also include those user agents in the “Rejected User Agents” area in WP Super Cache.
  4. In the “Contents” tab, click “Delete Expired” and “Delete Cached” to delete pages that were likely cached before adding the new list of rejected user agents.
  5. Ensure that WP Super Cache is selected in the plugins list in the Core Settings > Compatibility > WordPress Plugins section of the WPtouch Pro admin panel. (Pro only, enabled by default in WPtouch (free))
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
iPhone
iPod
Android
BB10
BlackBerry
webOS
IEMobile/7.0
IEMobile/9.0
IEMobile/10.0
MSIE 10.0
iPad
PlayBook
Xoom
P160U
SCH-I800
Nexus 7
Touch

主要就这一段话,简单翻译一下。

1,打开WP Super Cache设置页面里面的”高级”标签,勾选“Mobile device support”,点击“更新”保存。

2,把下面这些设备粘贴到 “已拒绝的用户代理(User Agent)”对话框里,点击“保存用户代理(UA)字段”。

3,这个是WPtouch Pro用户的,我用的是 free 版本,略过。

4,在“内容”标签中,点击“删除已过期文件”和“删除缓存”。

5,这个也是 Pro用户的,略过。

然后再用手机端打开,可以看到 WPtouch 的漂亮界面了。

关于WP Super Cache与WPtouch冲突问题的解决

打赏
原文链接:,转发请注明来源!
STM

发表评论