1, WordPress permissions on the installation and use of the effect is very large: permissions errors will affect the installation of theme: can not install theme or modify theme or delete theme. Related settings:chmod 755 WordPressFind Wordpress-type d-exec chmod 755 {} \;Find Wordpress-type f-exec chmod 644 {} \;chown-r nginx:nginx WordPress method See: http://my.oschina.net/kjpioo/blog/162697
2, the Uploads directory security:problem Description: Linux under the latest version of WordPress, upload Theme,theme installed successfully, in the wordpress/wp-content/uploads/directory has 2013/09/theme_name.zip file exists. Although the 2013/09/directory is forbidden list, how to prevent theme_name.zip files from being spied on by the client (preventing download) Solution:Scenario 1: Manually delete the uploads. zip file after each upload and installation of theme Scenario 2: Use the. htaccess Rewrite rule in the Uploads directory to mask access to the Http://SITE_URL/uploads/2013/09/theme_name.zip. method See: http://my.oschina.net/kjpioo/blog/162696From :http://my.oschina.net/kjpioo/blog/162698
WordPress under the Linux nginx permissions settings