My favicon isn't showing up. Why?

Here's my code:

<link rel="icon" href="images/verizon_favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="images/verizon_favicon.ico" type="image/x-icon">

My image is 16X16 and it's in the directory that's referenced but no favicon.

What am I missing?
Bruce GustPHP DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Russ SuterCommented:
remove the first element. The only one you should use is <link rel="shortcut icon" href="images/verizon_favicon.ico" type="image/x-icon">

Also, the type is not strictly necessary.
0
Bruce GustPHP DeveloperAuthor Commented:
Russ, I tried to simplify things even more by doing this:

<link rel="shortcut icon" href="verizon_favicon.png">

...put the image in the main directory, checked to make sure it was accessible and everything seems gold, but still no favicon showing up.

Am I missing anything?
0
Bruce GustPHP DeveloperAuthor Commented:
Here's a portion of my header:

<!DOCTYPE html>
		<head>
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<title>South Area Network</title>
		<link href="css/new_style.css" rel="stylesheet" type="text/css" />
		<link rel="shortcut icon" href="verizon_favicon.png">
		<map name="tabs">
		<area shape="rect" coords="19,27,140,43" href="dashboard.php">
		<area shape="rect" coords="153,27,262,43" href="http://southareanetwork.nss.vzwnet.com/network_tools_list.php">
		<area shape="rect" coords="281,27,393,43" href="http://netadmin.nss.vzwnet.com/asset-management/cip-dashboard/" target="_blank">
		<area shape="rect" coords="405,27,523,43" href="project_request.php">
		</map>
		<map name="login">
		<area shape="rect" coords="4,21,90,44" href="custom_validate.php">
		<area shape="rect" coords="14,64,456,131" href="index.php">
		</map>

Open in new window

0
Russ SuterCommented:
Possibly. In order for this to work the icon file would have to be in the same directory as the page. If that's not the case then you need to change the href to use a root-relative or absolute URL.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bruce GustPHP DeveloperAuthor Commented:
I found a plugin for Photoshop that allowed me to save my image as an .ico. Once I did that and used an absolute URL, that did the trick!

Thanks!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.