How To Fix WooCommerce Product Importer Error

If you’ve ever encountered that pesky WooCommerce product importing error that states, “Sorry, this file type is not permitted for security reasons.” we’re here for you.

To fix that error, you simply add the line below as a snippet.


After you do that, try to re-import the file. It should go through without any issues and you’ll be good to go.

See our featured website design work

Check out some of the beautiful websites we’ve built for over 2,000 clients.

We offer WordPress support & maintenance

Shake the stress of ongoing maintenance with plans supported by our team of WordPress experts.

Related articles