![]() |
Best HTACCESS mobile re-direction script
What is the best HTACCESS script to re-direct mobile users to another site?
Here is what I am using currently. Do I need to add or modify anything? Code:
|
this should do the trick.
Code:
RewriteCond %{HTTP_USER_AGENT} android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge\ |maemo|midp|mmp|opera\ m(ob|in)i|palm(\ os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|vodafone|wap|windows\ (ce|phone)|xda|xiino [NC,OR] |
|
Quote:
That looks elegant. |
Does anybody know if Google penelizing for re-directing mobile traffic to a different domain?
|
Quote:
i even wrote a plugin to allow you to select a theme for mobile devices, and also target content for mobile devices. example [is_mobile] content here [/is_mobile] or [is_iphone] content here [/is_iphone] same with is_ipod is_kindle etc so that content will only be shown to those devices |
Quote:
|
Quote:
|
here i list every mobile redirect code i find http://www.signbucksdaily.com/sites/list/show/mobile/
|
All times are GMT -7. The time now is 07:51 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123