Error Log Apple-touch-icon-precomposed.png
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Why am I getting error for apple-touch-icon-precomposed.png up vote 154 down vote favorite 34 I have created a new rails3 project but I am seeing following logs many times in my server logs. Why I am getting these request and how can I avoid these? Started GET "/apple-touch-icon-precomposed.png" for 192.168.6.2 at 2012-09-18 20:03:53 +0530 ActionController::RoutingError (No route matches [GET] "/apple-touch-icon-precomposed.png"): I haven't given this link anywhere and don't want to render this image anywhere. I am clueless why this resource is being tried to be loaded. apple-touch-icon share|improve this question edited Mar 13 '13 at 15:23 Brad Koch 7,19185682 asked Sep 18 '12 at 15:46 Akash Agrawal 1,74141421 3 i'm getting the same exact thing in my .net project. has nothing to do with ruby. what i don't understand is why this isn't a standard 404 not found error. but it ain't. just a routing error. i get: The controller for path '/apple-touch-icon-precomposed.png' was not found or does not implement IController. –horace Sep 18 '12 at 20:49 @Akash, I guess its about time to mark the answer as correct. –Joao Leme May 21 '13 at 14:05 add a comment| 8 Answers 8 active oldest votes up vote 145 down vote accepted Editorial Note: The information in this answer is not particularly wrong, however, more technical detail is available here: Everything you always wanted to know about touch icons (Mar 2011; by Mathias Bynens) I guess apple devices make those requests if the device owner
Most of the errors were coming from my main index page but I had 404 errors scattered across all my pages on PCHell.com concerning the two files. Now I would not have been concerned if I never look at 404 not found errors, but I do. What exactly was causing the error and how could I fix it. I figured it had something to do with either an Apple device or Safari, Apple's browser. After some research, here is what I found. Apple devices, tablets, android devices, and other mobile hardware look for these particular files when a person bookmarks a site on http://stackoverflow.com/questions/12480497/why-am-i-getting-error-for-apple-touch-icon-precomposed-png the device. In some cases, just the task of viewing the site in a mobile browser like Google Chrome will cause the 404 error if the files are not there. This is similar to the favicon.ico file that you want to put on your site when someone bookmarks it or adds it to their favorites list. Solution 1) Create two png files. One named apple-touch-icon-precomposed.png and http://www.pchell.com/support/apple-touch-icon_404.shtml the other named apple-touch-icon.png. The size of the png files should be about 100 X 100 pixels square. 2) Save these two files in the root directory of your website alongside favicon.ico. When a visitor using a mobile device tries to bookmark your site, they will find the two files and no 404 error will be generated. You can read through an extensive tutorial on these touch icons by visiting Mathias Bynens website. He talks about the exact sizes of the png files and what devices call the files. Bottom line, the files are similar to favicon.ico for visitors to your site. Written by Mark Hasting Links to Other Important Information Support for Windows XP and Windows Vista without latest service packs ends in 2010 How to Fix 500 Internal Server Error in PHP 5.4 script Computer shows Stop error and Continously Reboots after SP3 installed. Product Key Does Not Match Current Windows SKU Error Review of FastAgain PC Booster and How to Uninstall it How to Remove MSBLAST.EXE worm How to Remove Content Advisor Password in Internet Explorer How to Fix Google Chrome not Opening Web Pages or Settings How to Remove Incredimail Automatically How to
on March 16, 2012 in Development - Last Update:December 11, 2012 13When you load a website in your browser, a lot happens in the background to render and display that website to you. Your computer makes a number of requests, one for each file that is somehow linked on the site. http://www.ghacks.net/2012/03/16/why-webmasters-should-analyze-their-404-error-log/ This can be images or multimedia contents for instance. Whenever a file cannot be retrieved because https://realfavicongenerator.net/blog/apple-touch-icon-the-good-the-bad-the-ugly/ it does not exist, a 404 not found error is created for that file in the log. This may not affect the person loading the website, but it very well may provide the webmaster with information that something is not working correctly.There is another case where 404 errors happen. When you enter a link into your browser or a program directly that error log is not existing. This may be an image that you want to load, a feed url or any other form of link that points to a non-existing element on the web server.The primary reason for analyzing error logs is to resolve all, or at least the most popular causes for errors. If you notice that half of your users want to access a page that does not exist, you may want to redirect them to an existing error log apple-touch-icon-precomposed.png page instead, and especially so if that page has been moved or is available under a different address.Once you have created the redirect, users are automatically passed along to the new resource. It is barely visible for them.Too many broken links and elements can also have a negative impact on a site's search engine rankings. It is likely that the quality score sinks when a certain threshold of broken links and pages is reached.For WordPress, I like to use the Redirection plugin. It basically records all 404 not found errors in the interface, with the option to redirect those requests to other pages on the site.All requests that returned a 404 not found error are listed on one of the log pages of the plugin. Here you see the date the requests took place, the requested page, the referrer if available, and the IP of the user or machine that made the request. A click on the plus icon at the end of the row adds the source url to the redirection form at the bottom of the page.You then need to enter a target url - that is the url you want the visitors to be redirected to - to complete the process. While it is possible to use regular expressions or customize the matching and action filters, it is nothing that needs to be done to create the redirect.But
The Good, the Bad and the Ugly Posted on April 15, 2014 by Philippe Bernard — 17 Comments ↓ Warning: With the release of iOS 8, the recommended size is now 180×180. It was 152×152 when this article was published (updated 2014/12/26). Whatever you use an iOS or Android device, the Apple touch icon appears as soon as you bookmark a web site or add it to your home screen. It is the only element still visible once you leave the site. It should be in the checklist of every web project. But this is often not the case. A link to Apple web site For this study, the Apple touch icons of the 5,000 most visited web sites were studied. More precisely, this analysis focuses on the apple-touch-icon.png file located in the root directory. Although this file is not a strict requirement, it is so emblematic that studying it alone makes sense. More about this in the methodology below. First things first: how many apple-touch-icon.png were found and probed? 804. This 16% score sounds low, but again, this file is not required for the Apple touch icon to work. A previous study concludes to a 60% support rate. Therefore, this figure should not be taken too seriously. What matters is what lies in these 804 icons. The right answer was… … 152×152. 180×180, thanks to iOS 8 (updated on September 26th, 2014). Apple defines 4 icon sizes, from 60×60 up to 152×152. What the specifications forget to mention is that these sizes are for iOS 7. To support iOS 6 and prior, you need 4 other dimensions. iPhone iPad non-Retina Retina non-Retina Retina iOS 6 and prior 57×57 114×114 72×72 144×144 iOS 7 60×60 120×120 76×76 152×152 The specifications do not explicitly define the size of the apple-touch-icon.png picture, but a good practice is to provide a 152×152 picture. An iPad with a Retina screen running iOS 7 will use it as is, while the other devices will scale it as needed (unless they find a more suitable icon). How many web sites follow the 152×152 recommendation? 33. A good 4%. Oh. Among them, Apple.com. Nearly as many sites have a 60×60 icon, which is the other size you might pick after reading the Apple specs. Some others resoluti