How to hide these folders yourdomain.com/wp-content/plugins and yourdomain.com/wp-content/themes folder.
If you mean you do not want those folders viewable when someone types that url in the browser then i would suggest turning off directory listing. (If that is what you meant).
Yes, you can disable directory listing, so no one can access unless you provide the link to. One way to do so is changing permissions. But it is a bad idea!!!
Use .htaccess for that, Jalpari. Create an .htaccess file with the following code: Options -Indexes PHP: Next, upload that file to your themes and plugins folders. That should keep people from watching what's inside of them.
yeah u are write how to turn off u mean password protected directory option in cpanel. yeah it works thanks to all reputation add