WordPress under the Linux nginx permissions settings

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.