Take the 2-minute tour ×
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It's 100% free, no registration required.

I'm unable to upload the favicon.ico thought Craft because it says:

Upload failed for favicon.ico. The error message was: ”Error uploading the file: This file type is not allowed“

  1. Why does that restriction exists? I just couldn't find a list of forbidden files.
  2. Can I change that restriction?

I know I can use a FTP client to put the file in the folder, but since I'm doing this site for a friend I just wanted to leave her an easy way of managing the icon.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

1) It's not allowed because it's currently not in the allowedFileExtensions config setting.

2) Just add 'ico' to the extraAllowedFileExtensions config setting and you'll be able to upload .ico file.

share|improve this answer
    
I forgot to check the config file, thanks! –  Jordan Cortes Jul 7 at 17:01

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.