m.site.com?
- Started
- Last post
- 17 Responses
- sisu
Say you have a portfolio site, and you want to create a mobile version...
What are the options?
I know creating a Media Query and applying a seperate style sheet but he resulting URL is still the same www.
How do you create an m. site?
- hedge0
You create a damn subdomain.
- detritus0
You create a damn subdomain.
- sisu0
So, say I create a subdomain... how does the browser know to 'ZOOM' to 320x240?
- dbloc0
You create a damn subdomain.
there is no zoom. The phone does it automatically. if you create a mobile site, you will tell it to forward to the mobile version.
- sisu0
Once again, any fucking resources for this is it specific to your host?
- inteliboy0
try this search - should be heaps of articles online:
- inteliboy0
it's a basic js snippet to reddirect - and then your mobile site can be as simple as just using a different CSS file.
- prophet0
Also if you are using Wordpress, check out iPhonsta.
- utopian0
RewriteEngine On
RewriteBase /RewriteCond %{HTTP_USER_AGENT} ^.*ipad.*$ [NC]
RewriteRule ^$ http://www.PLACEURLHERE.com/ipad… [R,L]
RewriteCond %{HTTP_USER_AGENT} android|avantgo|blackberry|blaze... |maemo|midp|mmp|mobile|o2|opera\ mini|palm(\ os)?|plucker|pocket|pre\/|psp|sm... ce;\ (iemobile|ppc)|xiino [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^(1207|6310|6590|3gso|4thp|50[1... wa|abac|ac(er|oo|s\-)|ai(ko|rn... |s\ )|avan|be(ck|ll|nq)|bi(lb|rd)|bl... u|g560|gene|gf\-5|g\-mo|go(\.w|o... i|ip)|hs\-c|ht(c(\-|\ |_|a|g|p|s|t)|tp)|hu(aw|tc)|i... |\-|\/)|ibro|idea|ig01|ikom|im1k... |\/)|klon|kpt\ |kwc\-|kyo(c|k)|le(no|xi)|lg(\ g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w... |o|v)|zz)|mt(50|p1|v\ )|mwbp|mywa|n10[0-2]|n20[2-3]|n3... )|sy(01|mb)|t2(18|50)|t6(00|10|1... )|webc|whit|wi(g\ |nc|nw)|wmlb|wonu|x700|xda(\-|2... [NC]
RewriteRule ^$ http://www.PLACEURLHERE.com/mobi… [R,L]
- sisu0
Thanks. Just looking for some initial fuel to go about researching. More than enough fuckers.
- Haha i like this son of a bitch!prophet
- *spits chew wadprophet
- did yoouz just spittle on mah boots son?reinitialize
- Whoopsie-darnsy!... God damn!prophetone
- utopian0
^
Place your "URL HERE" for the iPad and or Mobile, the create web directory folder on your webserver with thefiles for your iPad or mobile device, it is that easy.
- sisu0
Wicked.
- hedge0
Nice htaccess overkill, utopian.