my favicon is not displaying. in page info -> media -> Type, it reads Text/html, while it should read Icon. What can I do?
I made a web page in dreamweaver cs 5 and used this code for the favicon: <link rel="shortcut icon" href="_images/logo-favicon.ico" /> When I preview it in dreamweaver in the firefox browser, it displays correctly. It however does not display when I visit the actual page. I followed troubleshooting instructions here on firefox that stated that when going into Tools, then Page Info, then clicking on Media, the Type should read as Icon. Instead it reads Text/Html. Could this be the culprit?
Giải pháp được chọn
You're welcome, Please mark this thread as SOLVED.
Đọc câu trả lời này trong ngữ cảnh 👍 0Tất cả các câu trả lời (3)
With being able to view the webpage itself, it's tough to see what's wrong.
Basically, if you have the favicon.ico file in the root directory of the server, and the name is simply favicon.ico and not some other name, Firefox will be able to find it and display it. Putting that image in another folder or changing the name can cause Firefox not to be able to find it if your < link rel="shortcut icon" path is wrong.
Thank you for your reply. Here is my web page: http://durdovicdesign.com/ I have followed your advice and a combination seems to work. First, I deleted the code; <link rel="shortcut icon" href="../_images/logo-favicon.ico" /> ,changed the name to simply favicon.ico, and placed it into my root folder. That did not work. Second, I kept the renamed favicon (favicon.ico) in the images folder (which is in the root folder), and the root folder (so I have it in 2 locations), and repasted the code; <link rel="shortcut icon" href="../_images/favicon.ico" /> (note the favicon name change). This combination worked for me, so thank you for your help. :-))
Giải pháp được chọn
You're welcome, Please mark this thread as SOLVED.