If you are trying to change the fav icon that the XAMPP pages use then overwriting the favicon.ico file will not work as they use a different icon file in their own pages to help differentiate your own files from the XAMPP files.
If you want to use your own fav icon file then you have to add the link to it in the <HEAD> section of your
own pages - for example:
<link rel="icon" type="image/ico" href="youricolocation/favicon.ico">
or if you have placed your
own index file in the htdocs directory, after deleting or renaming the XAMPP index file, and you have changed the favicon.ico file to your
own then all you need to do is add this to the <HEAD> section of your
own index file:
<link rel="icon" type="image/ico" href="favicon.ico">
If you have placed your own files in a sub directory of the htdocs directory then your link might look like this:
<link rel="icon" type="image/ico" href="subdirectory/favicon.ico">
An example head section containing a favico.ico link may look like this:
- Code: Select all
<html>
<head>
<title>Title here</title>
<meta name="description" content="Description here">
<meta name="keywords" content="keywords here">
<link rel="icon" type="image/ico" href="favicon.ico">
</head>
<body>
Content Here
</body>
</html>
The link can be relative or absolute.
http://en.wikipedia.org/wiki/Favicon