4

So I am new to Joomla, and am trying to change our favicon. I already have a 16*16 .ico image, but can't figure out how to use it. I don't know how to use cPanel. What do I do?

5

The favicon.ico file needs to be copied to the default template folder. For example, if you are using the Protostar template, the file would be copied to:

/templates/protostar/favicon.ico

You might also wish to copy the favicon.ico file to the root folder of your website e.g. /public_html or similar as this can improve performance slightly and reduce error messages being logged when the file is not found.

When you log in to cPanel, look for File Manager which you can use to upload files to the desired locations.

Alternatively, you could use an FTP client (the credentials are usually the same as cPanel credentials) to upload the files.

3

That really depends on the template you're using. For most cases all you need to do is upload the favicon.ico file into the root directory your website (it can be: public_html , htdocs , httpdocs etc.) Sometimes you need to copy the .ico file also into the template directory, which is under: /public_html/templates/your_template_name/ Please use browser tool "Inspect Element" and determine where you should put that file. You can always provide us with your site name and we will be able to check this for you.

2

Answer provided by Neil is my vote for "The Answer" - but if you're looking for a more robust favicon option, you can do so with this favicon generator:

http://www.favicon-generator.org/

It will provide you with a favicon file, and meta data to include in your header. You just need to adjust the file path accordingly. The advantage of using this is that it will generate icons for a variety of devices. That's nice if you anticipate your users will be saving the site to their phone icons.

  • 1
    Thanks! A similar icon generator website (created using Joomla) is iconifier.net. Full disclosure: I created iconifier.net. :) – Neil Robertson Nov 8 '16 at 3:10
  • 1
    Well, nice work! – Faye Nov 8 '16 at 17:45
-1

I had to comment out the following line from joomla template.

<jdoc:include type="head" />

Now when reloading the homepage, the new favicon appeared, after which I un-commented the above line.

  • This will deactivate the output of the head, you shouldn't do this.. – Dennis Heiden May 16 '18 at 13:38
  • Yeah but only temporarily, once the browser updates it's cache we are going to "un-comment" that line. (re enable the above code). – Mohd Abdul Mujib May 16 '18 at 17:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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