Favicon.ico在多域网站上? [英] Favicon.ico on multi-domain sites?

查看:179
本文介绍了Favicon.ico在多域网站上?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为我们的多站点Magento设置使用附加域,运行在domain1.com上的一个皮肤文件,并且想知道我们如何为每个商店设置一个图标?



当我们完成这个项目的设置时,我们共有10个域名,所以显然需要10个不同的favicon。



这个 - http://vanesz.awardspace.info/magento_favicon_tweak/



哪些在某些方面有效,并在Google网站管理员工具上显示相关图标,但它不能作为书签图标和浏览器如Chrome的页面顶部的图标。

解决方案

这是一篇关于that:





基本上,你这样做:

 < link rel =快捷图标href =/ favicon.icotype =image / x-icon/> 

并将href更改为任何您想要的。


We’re using add-on domains for our multi-site Magento setup running off one skin file on domain1.com and was wondering how we go about setting up a favicon for each store?

We will have a total of 10 domains by the time we finish setting up this project so obviously want 10 different favicon’s.

I’ve tried this - http://vanesz.awardspace.info/magento_favicon_tweak/

Which works in some respect and show’s the relevant icon on things like google webmaster tools but it doesn’t work as a bookmark icon and as an icon at the top of the page on browsers like chrome.

Any help on this would be great.

解决方案

Here's a post about that:

Basically, you do this:

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

and change href to whatever you want.

这篇关于Favicon.ico在多域网站上?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆