Go Back   WirelessAdvisor.com Forums > Wireless Topics > Ringtones ~ Wallpapers ~ Games ~ Mods

Ringtones ~ Wallpapers ~ Games ~ Mods | Subject: Question about building a WAP site in Wireless Topics; Certain sites I've noticed have some type of code so that if you visit their website via your mobile phone, ...


Ad Links
T-Mobile Deals
Reply
 
LinkBack Thread Tools Search this Thread
Old 08-28-2006, 3:03 PM   #1 (permalink)
IQ_
Shoulda joined long ago!
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Question about building a WAP site

Certain sites I've noticed have some type of code so that if you visit their website via your mobile phone, it will immediately take you to their mobile friendly pages. For example, if I go to www.cnn.com on my computer, it gives me a very elaborate site, however if I go to the same address on my phone, it automatically opens as the mobile version of their site. I have tried adding a certain line in my .htaccess file that defines the mobile page as the index page...but then that messes up when it is viewed via a computer. Any help?
IQ_ no ha iniciado sesión  
Digg this Post!Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 09-01-2006, 2:58 PM   #2 (permalink)
Software Architect
 
nKrypteD1's Avatar
 
Join Date: Jun 2006
Location: Atlanta, GA
Posts: 1,610
Phone(s): Blackberry Pearl, Samsung Katalyst
Provider(s): Verizon
Devices: Moto H700, Dell Inspirion 1521, LT-20 GPS
Thanks: 0
Thanked 0 Times in 0 Posts
Images: 4
4 Images


Default Re: Question about building a WAP site

I haven't personally looked at it, but I would chanceably argue that this is a browser check, checking for the known wap browsers and then redirecting.
nKrypteD1 no ha iniciado sesión  
Digg this Post!Add Post to del.icio.usFurl this Post!
Reply With Quote
Old 09-01-2006, 4:39 PM   #3 (permalink)
IQ_
Shoulda joined long ago!
 
Join Date: Aug 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: Question about building a WAP site

After some research, I have found that it is indeed a browser redirct code, but I have yet to find something that works. I have seen the following code recommended several times, but when I put it into my .htaccess, I always get an internal server error message...both on my mobile and computer:

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} “Windows CE” [NC,OR] #Windows CE and Pocket PC
RewriteCond %{HTTP_USER_AGENT} “Opera Mini” [NC,OR] #Opera Mini
RewriteCond %{HTTP_USER_AGENT} “NetFront” [NC,OR] #PalmSource WebBrowser 2.0
RewriteCond %{HTTP_USER_AGENT} “Palm OS” [NC,OR] #Eudora Web Browser for Palm
RewriteCond %{HTTP_USER_AGENT} “Blazer” [NC,OR] #Handspring Blazer Browser
RewriteCond %{HTTP_USER_AGENT} “Elaine” [NC,OR] #RIM Devices
RewriteCond %{HTTP_USER_AGENT} “^WAP.*$” [NC,OR] #WAP Browsers
RewriteCond %{HTTP_USER_AGENT} “Plucker” [NC,OR] #Plucker Offline download client
RewriteCond %{HTTP_USER_AGENT} “AvantGo” [NC] #AvantGo Service
RewriteRule ^index\.php http://www.yourdomain.com/mobile/index.html [L,R]

Any ideas?
IQ_ no ha iniciado sesión  
Digg this Post!Add Post to del.icio.usFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
Forum Jump

Similar Threads for: Question about building a WAP site
Thread Thread Starter Forum Replies Last Post
In-Building Coverage sashank19 GENERAL Wireless Discussion 7 04-11-2006 9:07 PM
Wap Site Building Tool For Non-Techies WINKsite Wireless News 0 12-12-2002 1:39 PM


All times are GMT -4. The time now is 11:21 PM.