• Resolved PositechWP

    (@positechwp)


    I’m attempting to add DWG and SLDPRT (Solidworks) files to our company’s WordPress site. I get the error “Sorry, this file type is not permitted for security reasons.”

    I know you can go under the Network settings and change the allowed files, but it still won’t allow me to upload these types of files. Is there another alternative around this to get these files uploaded? Believe me when I say I’ve searched myself for answers, but I wanted to see if anyone had an answer they could give at the moment.

    Any help is appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter PositechWP

    (@positechwp)

    If I have to do it on the server side of things, which it looks like the other sites I’ve looked at say to do, I can’t personally do that as I don’t have access to the wpconfig.php files. But I’ll let our IT guy do it if it needs to be done that way, but I’m wanting to know is there a way for myself to do this.

    There’s two ways of doing this.

    First, you can add new allowed MIME types. This is the first link that I found in a qick search, but there’s a lot more info out there. https://www.wpbeginner.com/wp-tutorials/how-to-add-additional-file-types-to-be-uploaded-in-wordpress/

    Second (and what I have done in the past) is best if you can’t do anything with the code of the site. You need to create ZIP files containing the CAD, etc files, and upload those. ZIP files are allowed, so there’s no problem with those.

    Thread Starter PositechWP

    (@positechwp)

    So I’ve tried doing the first option, adding to the functions.php in the theme editor, and it crashes my site. This isn’t the first time I’ve tried changing the functions file in there and have it crash, so I was leery of doing it but I did it anyway. Sure enough it crashed.

    The second option, zip files, do I just add them like normal media files? Because wordpress still says it can’t permit them due to security reasons.

    I’ll eventually get this figured out I just know it! Thank you catacustic for your help thus far, it’s a start!

    I haven’t had any issues adding ZIP files before, so that does sound strange. WordPress by itself does allow ZIP files, so it could be one of your plugins that’s blocking that.

    Thread Starter PositechWP

    (@positechwp)

    Our company uses the Infoway theme, which I believe is a premium theme, and I think if I’ve seen correctly this forum doesn’t do much with the premium themes.

    But I can’t imagine the theme wouldn’t allow that, I’ll have to look into the plugin issue too.

    I’m trying to get our IT guy to look into this as I don’t have much knowledge with this techy side of WordPress.

    Appreciate the reply back again catacaustic!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding Unrecognized Files to WordPress’ is closed to new replies.