WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. namcoibn
    Member
    Posted 10 months 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

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Biranit
    Member
    Posted 8 months 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]

Reply

You must log in to post.

About this Plugin

About this Topic