...
WordPress Directory | Files and Directory Permissions | Comment |
---|---|---|
/opt/web/php/dailyplanet.com/ | serveradmin:www-data rwXr-X--- | Top level folder named by domain name. |
/opt/web/php/dailyplanet.com/blog/ | serveradmin:www-data rwXr-X--- | Location of WordPress instance for the domain name. We are using this folder rather than just the domain name to allow for more advanced configuration (such as separating the website with static content). |
/opt/web/php/dailyplanet.com/blog/wp-contentadmin/ | www-data:serveradmin rwXrwX--- | Plugins and custom changes managed through the WordPress interface and requires write access. In addition, WordPress verifies the user it is running as (in this case www-data) is the owner of this directory. So we must change the user for this directory. There is a workaround (add link) but this requires custom modification to file x if you prefer not to change the user to www-data. |
/opt/web/php/dailyplanet.com/blog/wp-admincontent/ | www-data:serveradmin rwXrwX--- | Plugins and custom changes managed through the WordPress interface and requires write access. In addition, WordPress verifies the user it is running as (in this case www-data) is the owner of this directory. So we must change the user for this directory. There is a workaround (add link) but this requires custom modification to file x if you prefer not to change the user to www-data. |
web Folder
This is where everything starts for web related work,
...