Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 23rd Jul 2011, 03:03 PM   #1
New Warrior Member
War Room Member
 
Join Date: 2007
Location: Ft Lauderdale, Florida
Posts: 7
Thanks: 3
Thanked 1 Time in 1 Post
Default
Problem with redirect to mobile site
Share on: 
fb share twitter share gplus share more share

Hi everyone,

I am having an issue with the mobile redirect script with my latest client.

I put the redirect script into the index.html file and when I type into the browser, www.MyClientWebsite.com, it will instantly redirect to m.ClientWebsite.com, which is what I need it to do.

If however, I type in: MyClientWebsite.com , without the www, as many people do, it will not redirect at all and just goes to the main site.

Anyone know what I am missing or how I can fix this?

Thanks in advance for any help,

Mike
Sovereign is offline  
Unread 24th Jul 2011, 01:26 AM   #2
www.MichaelKove.com
War Room Member
 
TrueStory's Avatar
 
Join Date: 2007
Location: Miami Beach, FL
Posts: 142
Thanks: 7
Thanked 18 Times in 16 Posts
Default
Re: Problem with redirect to mobile site
Share on: 
fb share twitter share gplus share more share

do you mind copying redirect script so we can take a peek?

Depends on how you "check for mobile" device. Are you using Javascript to redirect?
TrueStory is offline  
Unread 24th Jul 2011, 10:58 PM   #3
Software Wizard
War Room Member
 
KabanaSoft's Avatar
 
Join Date: 2011
Location: Pittsburgh, PA
Posts: 99
Thanks: 78
Thanked 141 Times in 78 Posts
Default
Re: Problem with redirect to mobile site
Share on: 
fb share twitter share gplus share more share

Mike,

I have code that does this and just shared my code with a fellow warrior who asked at this thread: http://www.warriorforum.com/programm...ct-script.html

Send me a PM and i will send you the code that i am using to detect mobile users and redirect them to the mobile version of your site, it works nicely and even has a cookie preference if the user wants to view the full version of the site. Written in PHP.

I use the code from the http://blog.mobileesp.com/ to detect mobile users.

I highly recommend you taking a look at that site as well.
KabanaSoft is offline  
Closed Thread


Bookmarks

Tags
mobile, problem, redirect, site


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 02:36 PM.