What are the correct file and folder permissions? Print

  • 0

For most websites on a cPanel/LiteSpeed server, use these standard permissions:

  • Folders/directories: 755
  • Files: 644
  • Sensitive config files (like wp-config.php): 600 or 640

Never set files or folders to 777 - it is a security risk and is often blocked. To change permissions, open File Manager, right-click a file or folder, choose Change Permissions, and set the values. If a script needs write access (uploads, cache), 755 on the folder is usually enough. If you see a 403 Forbidden or 500 error after changing permissions, revert to 644/755 and open a ticket if it persists.


Was this answer helpful?

« Back