indexing - How to define mobile website on server -


i found great tutorial explains designing mobile website , i've decided give try. question how define mobile pages on server not conflict or show on desktop version of site. instance, in video use index.html, since have index.html on server how mobile device direct "mobile index" page?

you need employ browser or device detection techniques. few ways can via javascript, php, or if you're using wordpress, use plugin.

css-tricks has nice little snippet may useful you: http://css-tricks.com/snippets/javascript/redirect-mobile-devices/

or if want learn php or wordpress side of things, heres link: http://mobile.tutsplus.com/tutorials/mobile-web-apps/mobile-browser-detection/


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -