PDA

View Full Version : FREE wordpress plugin to re-direct mobile visitors



Mobileinternet
05-02-2012, 02:56 PM
Hi Guys,


I have just found a great free wordpress plugin that you can use to re-direct mobile visitors of your website to the mobile version, you just have to install the plugin, enter your mobile site address and hit Save.... Enjoy

Free mobile redirect plugin (http://free-mobile-redirect-script.com)

andymoore
05-02-2012, 04:10 PM
Is this really it:

(ereg('iPhone|iPod|iPad|Android|Dream|Cupcake|Blac kBerry9500|BlackBerry9530|Mini|WebOS|Incognito|Web mate',$_SERVER['HTTP_USER_AGENT']))

That's not user agent detection...... Seriously it ain't, that's just lame with so much to be desired.....

Mobileinternet
05-02-2012, 04:21 PM
Is this really it:

(ereg('iPhone|iPod|iPad|Android|Dream|Cupcake|Blac kBerry9500|BlackBerry9530|Mini|WebOS|Incognito|Web mate',$_SERVER['HTTP_USER_AGENT']))

That's not user agent detection...... Seriously it ain't, that's just lame with so much to be desired.....

What?

andymoore
05-02-2012, 05:00 PM
My point being: One line of user agent sniffing does not make a device detection routine. If it does the chances are it's going to be naff and not work very well.