How do I rename a wp-content folder?

You can change wp-content folder manually or using a WordPress plugin.

  1. You can manually change the folder wp-content into lib (or a different name) using the File Manager on your server and you will need to re-login to your website.
  2. You can use Hide My WP Ghost plugin to change the wp-content path and all the common WordPress paths to protect your website from hackers.

You can find details about both ways here:
https://hidemywpghost.com/how-to-customize-wp-content-directory-in-wordpress/

Download Hide My WP Ghost Lite

Hide My WP Ghost Lite is a WordPress Security plugin. Change and Hide WordPress common paths and URLs to increases your WP Security against hacker’s bots.

Download