WordPress Security – Tighten File/Folder Permissions
Take these basic steps to make your site more hack resistant.
Configure your file and folder permissions via cPanel File Manager or
SFTP (How to configure a Secure FTP client).
Always test after making changes and if problems arise just reset permissions via cPanel or SFTP.
And always make sure you have a complete backup as part of your daily routine. (Clone your WordPress site)