File could not be uploaded

No matter how I try and organise the zip file, I always seem to get this error: The file could not be uploaded; the error code was: The zip file was not valid; it needs to contain a single top-level directory with name exactly equal to the plugin slug (plugin-name). The additional entry encountered was: plugin-name

I’m making sure that the zip contains a single top-level directory with the exact name as stated in the error but it doesn’t seem to make any difference. Where am I going here?


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer