Product CSV import problems with certain html tags
I'm transferring all of my WooCommerce products from one installation to another just by simply exporting the products to CSV and importing them again.
Initially, the import would not work and the error message:
Sorry, you are not allowed to upload this file type.
This was a bit of a surprise as it was just an export csv file from another WooCommerce site.
So I downloaded a sample csv import file and this worked fine.
To cut a long story short, the problem appeared to be html tags in the product description but only the table
tag.
All other (that I checked) html tags and attributes, including inline styles, were imported perfectly fine but the presence of that tag seemed to convince Wordpress that it was no longer a csv file.
It's not been a major issue for me as I have been through and manually removed the tables in the csv files but I was wondering if anyone knew what was going on?
The WooCommerce support pages seem to suggest that, in such cases, Wordpress is mis-identifying the file type. I don't think it is my server as uploading the file and trying to import by providing a path to the file doesn't work either.
Topic woocommerce-offtopic csv bulk-import Wordpress
Category Web