Announcement

Collapse
No announcement yet.

Favion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Favion

    I am using this code:

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

    I placed it in the head section of my index.html and in the head tag content/css in Miva.

    I can't get it to show on the browser. Appreciate some help with this.

    Thanks

    #2
    Re: Favion

    I suspect you are dealing with incorrect path issue - if you put that exact code in your Miva store, then you have to remember that it already has BASE HREF tag on all pages and that points to /mm5/ by default (or whatever directory you have your store installed in). With BASE HREF in place, your store is therefore looking for the file in /mm5/luxurycustomaccessories.com/favicon.ico - treating luxurycustomaccessories.com as a directory name, not domain name. Same may be happening on static html pages outside of Miva - that path looks like a directory name, not hostname. If you want it treated like a hostname you have to pre-pend that with http:// - as in: http://luxurycustomaccessories.com/favicon.ico

    Simplest fix is to put the favicon.ico file in the root html folder on your site and reference it simply as "/favicon.ico" - whether in static html pages or in Miva pages. Note the leading / - it's important, it tells the server to start the path search at the root html folder level, rather than the 'current' directory or the directory specified by the BASE HREF tag in Miva.
    Last edited by d_host; 09-06-09, 08:18 AM.

    Comment


      #3
      Re: Favion

      Originally posted by dotCOM_host View Post
      I suspect you are dealing with incorrect path issue - if you put that exact code in your Miva store, then you have to remember that it already has BASE HREF tag on all pages and that points to /mm5/ by default (or whatever directory you have your store installed in). With BASE HREF in place, your store is therefore looking for the file in /mm5/luxurycustomaccessories.com/favicon.ico - treating luxurycustomaccessories.com as a directory name, not domain name. Same may be happening on static html pages outside of Miva - that path looks like a directory name, not hostname. If you want it treated like a hostname you have to pre-pend that with http:// - as in: http://luxurycustomaccessories.com/favicon.ico

      Simplest fix is to put the favicon.ico file in the root html folder on your site and reference it simply as "/favicon.ico" - whether in static html pages or in Miva pages. Note the leading / - it's important, it tells the server to start the path search at the root html folder level, rather than the 'current' directory or the directory specified by the BASE HREF tag in Miva.
      thank you...It works now.

      Comment

      Working...
      X