How To Rename “WP-Content” Directory In WordPress?
Wp-content folder contains WordPress themes and plugins, or we just call them extensions, which makes your WordPress different from others. You can rename wp-content directory with your desired name like “public_files” or "assets". Renaming of wp-content directory helps to hide your wordpress information from the hacker. Must Note Before changing It There are several plugins and themes that do not follow best practices. They use “wp-content” as the path and URL in their code, instead of defining them dynamically. In such cases, the plugins and themes may not function properly. Furthermore, this will also break links to images that already attached in your posts and that are stored in wp-content. So, this modification should be taken with caution and, it is better done when you just starting your website. Otherwise, it could ruin your website…

