How to rename the folder "wp-content" in WordPress
The issue of renaming wp-content are set by those who want to use WordPress identity to hide or protect themselves from malicious bots that are constantly trying to hack a website, means of access, through standard WordPress directory. You can not rename the folder wp-content, which lies at the root of a website on WordPress, because it will lead to malfunction of the CMS. In order to have everything by the rules and worked as it should, you need to specify WordPress to rename and set the parameters or you can hire wordpress site developer.
To do this, open the configuration file - the wp-config.php and begin to look for the following line: require_once(ABSPATH . 'wp-settings.php'); And in front of it add a new configuration. /*wp-content*/ define ( 'WP_CONTENT_FOLDERNAME', 'new folder name' ); define ( 'WP_CONTENT_DIR', ABSPATH . WP_CONTENT_FOLDERNAME ); define ( 'WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/' ); define ( 'WP_CONTENT_URL', WP_SITEURL . WP_CONTENT_FOLDERNAME ); The second line specifies the new name of the folder "NEW FOLDER NAME", then you need the same name as the folder to rename the wp-content. Using this method to remember one important rule. You will change the way the themes and plugins. If the routes to them are prescribed functions, there is no problem but if the path is registered manually, it is necessary to change to a new, or something simply will not work. For example, you have a thread the path to the picture wp-content / themes / worksole / images / img.jpg now, it will be so. my-content / themes / worksole / images / img.jpg
The same situation can be with plugins that you are using. 95% of developers of plugins, make them like that should be no problem, but all the same it is sometimes such that the plugin does not work. If you have the skills, you can search in the plugin code and correct the path or use its equivalent and the old abandoned. To use this method or not, you decide but this is an effective method in this respect, but it requires care not to disturb the operation of the website.