June 29th, 2010, 05:36 PM
Redirect/design mobile website
i'm trying to design a mobile version for my site. I just plan to use simple html/text and css to put up a simple version of the site which is less than 20kb. would this be a problem since i'm not using WML or WAP?
also another question is how do you find out if the user is browsing from their phone so i could redirect them to a different folder on my web server that contains the mobile version?
June 30th, 2010, 10:29 AM
You cannot do this with static HTML. You would either need to do with scripting language like PHP or purely server i.e htaccess if on Apache web server.
You should always give the user the option to choose though. Although many site now redirect to mobile sites after correctly identified as a mobile - I don't necessarily want to use a mobile version: N900 is more than capable of handling full web sites when on WLAN.
>_ My Music Blog | Losing weight @notsoheavyblog | My Tweets
Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.
July 24th, 2010, 08:43 PM
thanks or the reply.. sorry i guess i didn't explain myself well..
Originally Posted by jabba_29
what i meant is that i'm going to create php scripts that do all the server stuff in the backend and spit out normal html to the user instead of wml.
so my php file index.php would return lets say:
<h1>welcome to my mobile site</h1>
my question is that would that be ok or are all mobiles sites written in WML?
July 24th, 2010, 11:30 PM
Most mobile sites are written in standard XHTML/CSS.