Support » Plugin: Embed Any Document » cannot upload xlsm document

  • Resolved compassdude


    I downloaded this plug-in because my site is not allowing me to upload a spreadsheet with macros (.xlsm file extension). This plug-in suggests it is a solution to my problem but I am getting the same message as before: “Sorry, this file type is not permitted for security reasons.”

Viewing 1 replies (of 1 total)
  • Plugin Author


    We are very sorry, but this is not something a plugin has control of. The restriction is imposed by WordPress itself for security purpose.

    There are two ways to override the restriction. The easy way is adding the following line into your wp-config.php

    define('ALLOW_UNFILTERED_UPLOADS', true);

    You can add the above line of code in the wp-config.php file just above the following statement.

    /* That's all, stop editing! Happy blogging. */

    If this doesn`t fix your issue, you better get in touch with your hosting provider as many hosts don’t support various types of files to be uploaded to the server due to security issue.

Viewing 1 replies (of 1 total)
  • The topic ‘cannot upload xlsm document’ is closed to new replies.