correct permissions of wordpress site


Due to a problem on the site, I changed the permissions of all folders and files on my site recursively, according to this tutorial . As I have a shared hosting using suexec, I put 775 to all the folders, and 644 to all the files (except wp-config.php), the problem is that now the site does not work, I miss the HTTP error ERROR 500.

Any idea how I can fix this? : S

asked by Facundo Curti 10.11.2016 в 05:04

1 answer


The correct permissions for Wordpress files are:

  • 0644 for higher levels, this is the root of the site and all files that are located there.
  • 0755 for the three folders (wp-admin, wp-content, wp-includes).
  • 0755 for uploads and plugins folders (In some cases 775, it depends on server configuration)
  • 0666 for your WordPress theme in case you want it to be editable from the desktop.
answered by 10.11.2016 в 05:11