Icon / www.adress

SimoBuck / 2013-01-20 20:25:15   

Hello,
I would like to put an icon to my 'www' adress. Can anyone tell me how to do this?

Thanks

arsondpi / 2013-01-20 20:44:40   

Upload the .ico image file in the root directory of your server

Edit the index.php file of your theme (Admin/Assets/Theme/index.php) and after the

  1. <last:page:meta />

tag insert the following:

  1. < link rel='shortcut icon' href='{{baseurl}}/favicon.ico' />
SimoBuck / 2013-01-20 21:04:48   

Hello,

what do you define as root directory?
I am asking because the icon does not appear....

arsondpi / 2013-01-20 23:17:32   

The root directory is were all your files are.

the index.php, files, ndxzsite and ndxzstudio folders.

SimoBuck / 2013-01-20 23:27:46   

In the meantime I tried to move and upload the file to 5 or 6 different places on the server (including the root directory) - unfortunately it is not working.

Any other solutions or ideas what to do?

arsondpi / 2013-01-20 23:47:37   

it should work. can you post an address? I'll take a look tomorrow...

SimoBuck / 2013-01-21 00:43:14   

arch-beats.com

arsondpi / 2013-01-21 09:29:23   

First of all fix the errors in your page: validator.w3.org/…
Surely you need to get rid of the stuff you inserted in your pre-nav area (head tag etc)

The icon works fine with Firefox and Chrome - not sure why I can't see it working with Safari but it could be a browser issue...
You can try adding the following after the line I posted above - just to see if things work for Safari as well:

  1. <link rel="icon" type="image/ico" href="{{baseurl}}/favicon.ico" />
SimoBuck / 2013-01-21 21:55:59   

Thanks...
I did the changes which you mentioned before, but it still does not appear 'on my computer' - neither with firefox nor with safari.

And the errors: there is still one error

Line 12, Column 36: Bad value copyright for attribute name on element meta: Keyword copyright is not registered.

I have no idea what it is......

arsondpi / 2013-01-21 22:36:28   

Nope - the favicon works fine from my end.
This "smells" like browser cache errors...

Hold down the shift button and hit refresh a few times.

This thread has been closed, thank you.