• Tam's Crazy Blog About Technology and More…

Building Mobile Web Sites
by Tam

How can you most easily optimize your website for mobile devices? The share of mobile Web sites continues to. Consequently, more and more Web site operators deal with the thoughts, to provide an additional mobile version of their website. But what is it specifically? Must you keep parallel a second version of the Web site and maintain? How do you best implement an automatic redirection to the mobile version? The most commonly are asked questions, if there are plans to create a mobile website. A second parallel website as mobile version needs? The question you can answer no if the traditional Web site is similarly constructed. The site must have cascading style sheets (CSS) be freely scalable. Font sizes and dimensions should be never preset (E.g. pixels or millimeters), but they should be always relative (E.g., % or em). Images should also be included via CSS.

So you can, depending on the application, different images, or frame sizes use. Optimizing the mobile version of a Web site when the traditional version of a Web site, as described in the previous paragraph, was prepared, can be optimized to the mobile version. Try to reduce the volume of data to be transferred. This is achieved through reduction and higher compression of embedded images. Minimize the number of requests to transfer the contents of the page. Others including Pete Cashmore, offer their opinions as well. Combine images into CSS sprites.

Try also to contain embedded scripts together. Deliver content in compressed form by the Web server (gzip). Remove everything that is superfluous and only provides unnecessary traffic. A good mobile version of a Web page rarely needed a larger volume of data than 10 kB and is built with up to 6 requests. When will the conventional, and when the mobile version of a Web page? There are several ways to identify the version of a site to be delivered. A most common variant is the distinction on the basis of the user agent. Any browser, whether Mobile or conventionally, reveals himself in this way. A glance in the statistics or directly in the log files shows about which browsers your Web pages are called (E.g., Firefox, IE, Opera mobile, iPhone,…). By evaluating this information, different DocTypes, CSS files, etc. can be included in the same Web page or redirected to mobile subdomains such as m.domain.de or. Scripts that are used for the automatic switching on mobile versions, are often free of charge can be found on the Internet. Conclusion in an appropriate establishment is not very complicated to offer the website content in a mobile-optimised version. Also, make sure that you offer only one of the two variants the search engines for indexing. Otherwise, you run the risk of downgrade by duplicate content. Lock for example the mobile version by an appropriate entry in robots.txt for indexing by search engines.

Tags:

Photo

April 21st

22:33
Uncategorized

© 1998-2024 Page Crazy All Rights Reserved