Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Mobile Marketing
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
Share
LinkBack Thread Tools
Old 01-22-2013, 05:43 PM   #1
Trust Establisher
War Room Member
 
Justin Mandel's Avatar
 
Join Date: Aug 2007
Location: Sunny Gulf Coast of Florida
Posts: 3,123
Thanks: 716
Thanked 262 Times in 176 Posts
Social Networking View Member's Twitter Profile 
Contact Info
Default FREE Mobile Website Redirect Script?

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

BRAND NEW WHITE LABEL PRESS RELEASE SOFTWARE OPPORTUNITY CLICK BELOW


Justin Mandel is offline   Reply With Quote
Old 01-22-2013, 09:41 PM   #2
HyperActive Warrior
Registered Member
 
Join Date: Jan 2013
Location: Bangalore, India
Posts: 114
Blog Entries: 9
Thanks: 2
Thanked 9 Times in 8 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Default Re: FREE Mobile Website Redirect Script?

Quote:
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   Reply With Quote
Old 01-25-2013, 07:06 AM   #3
WarriorWill.com
War Room Member
 
WillR's Avatar
 
Join Date: Jun 2010
Location: Australia
Posts: 11,564
Thanks: 2,221
Thanked 7,820 Times in 3,891 Posts
Social Networking View Member's FaceBook Profile 
Default Re: FREE Mobile Website Redirect Script?

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   Reply With Quote
Old 02-10-2013, 06:21 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: Jul 2011
Location: New Zealand
Posts: 196
Thanks: 31
Thanked 26 Times in 25 Posts
Default Re: FREE Mobile Website Redirect Script?

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




Quote:
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   Reply With Quote
Old 02-11-2013, 01:11 AM   #5
You reap what you sow.
War Room Member
 
Nail Yener's Avatar
 
Join Date: May 2008
Posts: 852
Thanks: 172
Thanked 352 Times in 212 Posts
Default Re: FREE Mobile Website Redirect Script?

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.

"...CLOSED A SALE while I was testing this tool in the beta testing period..."

Mobile Landing Pages | Premium Mobile Website Templates
"..amazing!.." "..super fast.." "..best of this style.."
Nail Yener is offline   Reply With Quote
Old 02-12-2013, 01:06 PM   #6
Mobile Site Wizzard!
War Room Member
 
bonn's Avatar
 
Join Date: Nov 2010
Location: Scottsdale / Santa Monica
Posts: 173
Thanks: 4
Thanked 35 Times in 21 Posts
Default Re: FREE Mobile Website Redirect Script?

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   Reply With Quote
Old 02-13-2013, 06:29 PM   #7
DJL
HyperActive Warrior
War Room Member
 
DJL's Avatar
 
Join Date: Jan 2008
Location: , , USA.
Posts: 416
Thanks: 45
Thanked 169 Times in 119 Posts
Default Re: FREE Mobile Website Redirect Script?

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.
Quote:
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....

"Power tends to corrupt, and absolute power corrupts absolutely. Great men are almost always bad men."
--Lord Acton, 1887.
DJL is offline   Reply With Quote
Old 02-16-2013, 08:12 PM   #8
Warrior Member
 
Join Date: Jul 2007
Location: , , USA.
Posts: 20
Thanks: 8
Thanked 1 Time in 1 Post
Default Re: FREE Mobile Website Redirect Script?

https://github.com/serbanghita/Mobile-Detect
EZE522 is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Mobile Marketing

Bookmarks

Tags
free, mobile, redirect, script, website

Thread Tools

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 04:11 PM.