Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 22nd Jan 2013, 06:43 PM   #1
Media Publicity Generator
War Room Member
 
J. Barry Mandel's Avatar
 
Join Date: 2007
Location: Sunny Gulf Coast of Florida
Posts: 1,800
Thanks: 707
Thanked 280 Times in 190 Posts
Blog Entries: 13
Default
FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Can anyone suggest where I can find a FREE Mobile Website Redirect Script?

We already have one however it's not working, so I'd really prefer not to lay out any extra money for one if I can prevent it

Thanks in Advance,

Justin

J. Barry Mandel is offline  
Unread 22nd Jan 2013, 10:41 PM   #2
HyperActive Warrior
Registered Member
 
Join Date: 2013
Location: Bangalore, India
Posts: 259
Thanks: 2
Thanked 34 Times in 32 Posts
Blog Entries: 12
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Originally Posted by slimads View Post

What are you trying to do ? Take a user from a regular site site1 to a site b based on the user agents ? If so it is just couple of lines of code if you are doing it in PHP .

Quick googling got me this one - Simple User Agent (Mobile and Smartphone) Detection and Redirction with PHP - PHP - Snipplr Social Snippet Repository
Hi

Your saying it is a couple of lines but can you give me that code example it will help for me.

Have a Great Day !

Karen

jaintechnosoft is offline  
Unread 25th Jan 2013, 08:06 AM   #3
Digital Marketer
War Room Member
 
WillR's Avatar
 
Join Date: 2010
Location: Australia
Posts: 12,475
Thanks: 1,984
Thanked 8,187 Times in 4,079 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Justin,

It depends what type of redirect script you are wanting.

The most accurate one to use nowadays are those that detect the user agent of devices. Since new devices are being released all the time, the list of user agents needs to be kept up to date.

For that reason using a free redirect script is not a great idea. You want to use a service or script that will keep the list up to date for you. No point using a free option if it's not effective.

It also depends if you are using Wordpress or not.

WillR is offline  
Unread 10th Feb 2013, 07:21 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: 2011
Location: New Zealand
Posts: 213
Thanks: 44
Thanked 28 Times in 27 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Hi
You seem to be very knowledgeable in Mobile marketing

I make HTML5 based apps. I'm trying to put an URL there

Then I'm looking for an Intelligent redirection set up that allows me to set individual redirection - and then tracks and gives me intelligent insights on conversion etc

Do you know anything available like that? Thanks in advance
regards




Originally Posted by WillR View Post

Justin,

It depends what type of redirect script you are wanting.

The most accurate one to use nowadays are those that detect the user agent of devices. Since new devices are being released all the time, the list of user agents needs to be kept up to date.

For that reason using a free redirect script is not a great idea. You want to use a service or script that will keep the list up ti date for you. No point using a free option if it's no effective.

networkempire is offline  
Unread 11th Feb 2013, 02:11 AM   #5
You reap what you sow.
War Room Member
 
Nail Yener's Avatar
 
Join Date: 2008
Location: Sometimes you don't.
Posts: 1,078
Thanks: 196
Thanked 411 Times in 243 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Here is the one that I use in my projects:

Detect Mobile Browsers - Open source mobile phone detection

Decide on which method you want to use and download the corresponding script.

You may find better paid scripts that cover more devices. There are also other services that require a monthly fee and provide a limited number of redirections that I would never approach. I kinda hate monthly fees.
Nail Yener is offline  
The Following User Says Thank You to Nail Yener For This Useful Post:
Unread 12th Feb 2013, 02:06 PM   #6
Mobile Site Wizzard!
War Room Member
 
bonn's Avatar
 
Join Date: 2010
Location: Scottsdale / Santa Monica
Posts: 174
Thanks: 4
Thanked 36 Times in 22 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

hey buddy,

Just copy paste this code in between the <header>...</header> tags on the page you want to detect and redirect. Also change the "http://www.gomobileenterprise.com" to whatever your mobile site URL is.



HTML Code:
<script>
function detect() {
       var uagent = navigator.userAgent.toLowerCase();
       var mobile = false;
       var search_strings = [
           "iphone",
           "ipod",
           "ipad",
           "series60",
           "symbian",
           "android",
           "windows ce",
           "windows7phone",
           "w7p",
           "blackberry",
           "palm"
       ];
       for (i in search_strings) {
           if (uagent.search(search_strings[i]) > -1) mobile = true;
       }
       return mobile;
   }
   if (detect()) window.location = "http://gomobileenterprise.com/";
</script>

GoMobile Enterprise : Enterprise Grade Mobile Content Management Software for Everyone

Our WSO

Watch a video of the founder building a site with the platform here
bonn is offline  
The Following User Says Thank You to bonn For This Useful Post:
Unread 13th Feb 2013, 07:29 PM   #7
DJL
Advanced Warrior
War Room Member
 
DJL's Avatar
 
Join Date: 2008
Location: Texas, USA.
Posts: 577
Thanks: 54
Thanked 248 Times in 164 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

I have a few questions about the script suggested here:
  • I presume you meant <head> </head> tags, not <header> </header>?
  • The list of user agents seems very sparse. Are there others that should be included?
  • In the "for" loop, would it be worthwhile to exit the loop as soon as a match is found?
  • Is the inclusion of "ipad" correct? I have read elsewhere that the iPad works pretty well with normal websites.
  • Would a PHP solution be more universally effective, as some broswers might have JavaScript turned off?
Thanks for your advice.
Originally Posted by bonn View Post

... Just copy paste this code in between the <header>...</header> tags on the page you want to detect and redirect....

None are more hopelessly enslaved than those who falsely believe they are free.
--Johann Wolfgang von Goethe, Elective Affinities (1809)
DJL is offline  
The Following 2 Users Say Thank You to DJL For This Useful Post:
Unread 16th Feb 2013, 09:12 PM   #8
Active Warrior
 
EZE522's Avatar
 
Join Date: 2007
Location: , , USA.
Posts: 50
Thanks: 22
Thanked 4 Times in 4 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

https://github.com/serbanghita/Mobile-Detect
EZE522 is offline  
Unread 25th Sep 2014, 03:21 PM   #9
Raw Lord
 
Join Date: 2014
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Originally Posted by bonn View Post

hey buddy,

Just copy paste this code in between the <header>...</header> tags on the page you want to detect and redirect. Also change the "http://www.gomobileenterprise.com" to whatever your mobile site URL is.



HTML Code:
<script>
function detect() {
       var uagent = navigator.userAgent.toLowerCase();
       var mobile = false;
       var search_strings = [
           "iphone",
           "ipod",
           "ipad",
           "series60",
           "symbian",
           "android",
           "windows ce",
           "windows7phone",
           "w7p",
           "blackberry",
           "palm"
       ];
       for (i in search_strings) {
           if (uagent.search(search_strings[i]) > -1) mobile = true;
       }
       return mobile;
   }
   if (detect()) window.location = "http://gomobileenterprise.com/";
</script>
Thanks bro for sharing this script.

http://spic.biz - Upload Photos,Use Own Ads and Earn Money
zidbox is offline  
Unread 4th Oct 2014, 07:05 PM   #10
www.maladireta.info
 
Join Date: 2014
Location: Brazil
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Thanks Man !
maladireta is offline  
Unread 21st Oct 2014, 07:45 AM   #11
Advanced Warrior
War Room Member
 
Join Date: 2012
Location: Philadelphia, PA
Posts: 629
Thanks: 39
Thanked 197 Times in 103 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

Make sure the script you're using is utilizing PHP detection for the redirect and not screen size.

Screen size is an inadequate solution now since the mobile phones are getting bigger and bigger.

imsolutionsgroup is offline  
Unread 29th Oct 2014, 11:50 PM   #12
Active Warrior
 
Join Date: 2014
Posts: 43
Thanks: 0
Thanked 10 Times in 10 Posts
Default
Re: FREE Mobile Website Redirect Script?
Share on: 
fb share twitter share gplus share more share

we have a redirection script available, where you can redirect by Geo , OS , Operator , device. We also show ads to help you monetize your inventory.

Do DM me for more details.
tyrdsouza is offline  
Closed Thread


Bookmarks

Tags
free, mobile, redirect, script, website


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 10:22 AM.