While I was typing out the message below, I found a fix for the problem.
In my wp-config.php file, the plugin folder name was set to “sitename.com/folder/pluginfolder/”.
When I removed the slash at the end of the URL, the plugin names were hidden. Hope this helps someone.
Cheers and thanks for your prompt reply. 🙂
__________________________________________________________________________
It is only the plugin names. The theme folder and stylesheet names have been changed.
Also, something else I noticed in the source code is that the URLS for the plugins have 2 forward slashes before the plugin name. For example,
http://www.sitename/folder/pluginfolder//js_composer/assets/lib/…..
This isn’t the case for the wp-includes folder links which I also renamed. For example,
http://www.sitename/wp-includesrenamed/js/jquery/jquery.form.min.js
Could that be the problem?
The new rewrite paths for plugins I am using is:
folder/pluginfolder/pluginname – so there is no slash in front of that. I also checked my wp-config.php file and this is what the code for the plugin folder name looks like:
define( ‘WP_PLUGINS_FOLDERNAME’, ‘pluginfolder’ );
define( ‘WP_PLUGIN_DIR’, dirname(__FILE__) . ‘/folder/pluginfolder’ );
define( ‘WP_PLUGIN_URL’, ‘https://sitename.com/folder/pluginfolder/’ );
Although, in the Theme Settings of WP Hide, it says the following:
New Theme Path
The default theme path is set to /folder/material//themes/themename