WP Super Cache
More mobile device support with Super Cache (2 posts)

  1. namcoibn
    Posted 3 years ago #

    Hi. Im using WP Super Cache for my wordpress website and I found it very good but Im having a problem with mobile device support as WP Super Cache still missing some of mobile device user agent, that make some of mobile device still be served with desktop theme.
    How can I add more mobile user agent so that they will be served with mobile theme. I dont want to use reject user agent. Please help me


  2. Biranit
    Posted 3 years ago #

    Edit the .htaccess file directly, and add user agents to every block in it that looks like this:

    RewriteCond %{HTTP_USER_AGENT} !^.*(2.0\ MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo\ Wii|Nitro|Nokia|Opera\ Mini|Palm|PlayStation\ Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian\ OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows\ CE|WinWAP|YahooSeeker/M1A1-R2D2|iPhone|iPod|Android|BlackBerry9530|LG-TU915\ Obigo|LGE\ VX|webOS|Nokia5800).* [NC]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic