-1

We have a website and we now would like to make a mobile version of it. We would like for it to be as easy as possible, like just build an entirely new HTML and CSS site with some of the content from the original. We would like to build it in its own "m" subdirectory.

Is it as easy as just building the site, sticking it in the subdirectory and redirecting the site to mobile devices? How would I go about doing that, though JAVA (which we would like to stay away from), code in the HEAD or editing the .htaccess file?

This is our first time trying the mobile route, so I am pretty ignorant to the process.

halfer
  • 19,824
  • 17
  • 99
  • 186
user3704175
  • 37
  • 2
  • 7

1 Answers1

1

Mobile WAP sites need to be coded in xHTML MP (Mobile profile) markup as this is most friendly for mobile devices CSS need to use ,,em" value for sizes instead of,, pxl" because it's not good to use absolute values in CSS for mobile site .You can use auto index page to recognize type of browsers or OS and to redirect on WEB or WAP version of your site

Ненад
  • 341
  • 1
  • 11
  • Thank you for your response. I cannot upvote you because I don't have enough reputation. How would I go about using auto index page? – user3704175 Oct 28 '14 at 18:32
  • 1
    Here is some example with redirect and detection view http://stackoverflow.com/questions/6660649/mobile-or-desktop-browser-detection-and-redirect-to-respective-web-page – Ненад Oct 28 '14 at 18:42
  • Here is my mobile site: http://www.m.rentalcarmomma.com/test.htm - I cannot get the text on the bottom to scale properly with the rest of the site. Any suggestions? – user3704175 Oct 31 '14 at 20:01