Home Forums WoodMart support forum SVG file upload error: This file is not allowed for security reasons.

SVG file upload error: This file is not allowed for security reasons.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #403068

    zngntr
    Participant

    I’m trying to upload the svg format icon which I downloaded from canva to change the icon, but I’m getting the warning. that: “This file is not allowed for security reasons.”
    What is the cause of this problem and how can I solve it?

    Attachments:
    You must be logged in to view attached files.
    #403079

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    In case you see “This file type cannot be uploaded due to security reasons.” Then follow the below steps:

    1. Add this line to the wp-config.php file: define( ‘ALLOW_UNFILTERED_UPLOADS’, true );

    2. Upload all font files formats

    3. Remove this line from wp-config.php file

    Let us know if you have more questions, we will be happy to help.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)