Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm trying to replace the Magento favicon, but I can't seem to find it. Where is it?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

The easiest way is to add the favicon meta tag to your theme's header and point it to the favicon in your root. A more complex way (I think) is replacing the favicon in /skin/frontend/theme/interface/favicon.ico, but I never had any success with that method.

share|improve this answer
    
The path is basically $MAGENTO/skin/frontend/package/theme/favicon.ico thanks it fixed it :) –  omouse Nov 16 '10 at 15:28
add comment
  • First point, check the source of your front page
    • if you found a meta like this: <link rel="shortcut icon" href="a/path/favicon.ico" type="image/x-icon" /> just change the favicon in the named path
  • Else, browsers try to get the favicon to the root of your website so:
    • either you put a file favicon.ico at this place
    • or you put a meta like above with the good path to your favicon.
share|improve this answer
    
This only works if you have just one shop. Better upload the favicon to the theme. –  rxt May 29 '13 at 8:38
add comment

You can also consider using rewrite and completely bypass Magento:

.htaccess:

RewriteEngine on
RewriteRule ^favicon\.ico$ /images/favicon.ico [L]
share|improve this answer
    
It works, but it's not preferred I think. Better do it right in the template, less confusing. And if you have multiple shops with multiple designs and multiple favicons, you need to use conditions in the htaccess. All in all you better upload the favicon to the template. –  rxt May 29 '13 at 8:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.