I'm following the docs at https://docs.civicrm.org/sysadmin/en/latest/install/wordpress/
I downloaded 5.17 in a zip file from https://github.com/civicrm/civicrm-core/releases, unzipped it and renamed it
civicrm (I need 5.17 and not 5.18 for various reasons).
The docs say:
You should now have a /var/www/wordpress/wp-content/plugins/civicrm directory containing civicrm.php, README.txt and another civicrm directory (which in turn contains bin, CRM, sql, templates, etc.).
civicrm directory does not contain civicrm.php at the top level; that file is in a folder called
install. There is no directory inside
civicrm. As a result, the CiviCRM plugin does not show up in WordPress admin to be activated, even with correct
_www and 755 permissions.
Do I create a directory inside
civicrm? How do I get the plugin to show up in WP admin?
And, using the plugin installer in WP Admin to upload the zip file
civicrm-core-5.17.zip directly results in the error
The package could not be installed. No valid plugins were found.