Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > The Warrior Forum > Mobile Marketing
Register Blogs Social Groups CalendarHelp Desk

Reply
LinkBack Thread Tools
Unread 22nd January 2013, 06:43 PM   #1
Trust Establisher
War Room Member
 
Justin Mandel's Avatar
 
Join Date: 2007
Location: Sunny Gulf Coast of Florida
Posts: 3,136
Blog Entries: 1
Thanks: 717
Thanked 264 Times in 180 Posts
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
Justin Mandel is offline   Reply With Quote
Unread 22nd January 2013, 10:41 PM   #2
HyperActive Warrior
Registered Member
 
Join Date: 2013
Location: Bangalore, India
Posts: 134
Blog Entries: 9
Thanks: 2
Thanked 9 Times in 8 Posts
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
Unread 25th January 2013, 08:06 AM   #3
WarriorWill.com
War Room Member
 
WillR's Avatar
 
Join Date: 2010
Location: Australia
Posts: 12,048
Thanks: 2,302
Thanked 8,183 Times in 4,055 Posts
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 online now   Reply With Quote
Unread 10th February 2013, 07:21 PM   #4
HyperActive Warrior
War Room Member
 
Join Date: 2011
Location: New Zealand
Posts: 206
Thanks: 42
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
Unread 11th February 2013, 02:11 AM   #5
You reap what you sow.
War Room Member
 
Nail Yener's Avatar
 
Join Date: 2008
Posts: 943
Blog Entries: 1
Thanks: 189
Thanked 401 Times in 238 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 | Mobile Website Templates
"..amazing!.." "..super fast.." "..best of this style.."
Nail Yener is offline   Reply With Quote
Unread 12th February 2013, 02:06 PM   #6
Mobile Site Wizzard!
War Room Member
 
bonn's Avatar
 
Join Date: 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
Unread 13th February 2013, 07:29 PM   #7
DJL
HyperActive Warrior
War Room Member
 
DJL's Avatar
 
Join Date: 2008
Location: Texas, USA.
Posts: 430
Thanks: 47
Thanked 187 Times in 129 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
Unread 16th February 2013, 09:12 PM   #8
Warrior Member
 
Join Date: 2007
Location: , , USA.
Posts: 21
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

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > 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 10:29 PM.