• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WBXPress.NET

Website Developement Guide

  • apache2
  • nginx
  • mysql
  • php7
  • SSL
  • wordpress
  • genesis
  • caching
  • seo

Proper File and Folder Permission for WordPress

Updated on 17th September 2018 Leave a Comment

Check whether your wordpress installation have correct file and folder permission for proper functioning. Improper file permission may lead to file upload error, site update error etc. and it may also lead to security threats also. Let’s assume you have installed WordPress in /var/www/wbxpress, then you need to execute the following commands. Don’t worry these commands are applicable for both the web servers apache or nginx.

Set Proper Ownership of the WordPress directory

sudo chown -R www-data:www-data /var/www/wbxpress

Set Proper File Permission

sudo find /var/www/wbxpress -type d -exec chmod 755 {} \;

Set Proper Folder Permission

sudo find /var/www/wbxpress -type f -exec chmod 644 {} \;

You can set file and folder permission from FTP also.

Filed Under: FTP, wordpress

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Most Popular Posts

  • Remove/ Defer Render-blocking JavaScripts
  • Customizing Genesis eleven40-pro Theme
  • Free Genesis Child Theme by WBXPress
  • Host Multiple Sites with SSL in Ubuntu 18.04
  • 25 Ways to Boost Website Traffic that Really Work

Recent Comments

  • Ruhul on Customizing Genesis eleven40-pro Theme
  • Priya Agarwal on Customizing Genesis eleven40-pro Theme
  • mimi roy on Remove/ Defer Render-blocking JavaScripts
  • danish choudhary on Customizing Genesis eleven40-pro Theme
  • Radhe on Customizing Genesis eleven40-pro Theme

Copyright © 2021 · Powered by WordPress · Log in