WordPress setup

  1. Setup direct updates omitting FTP
  2. define('FS_METHOD','direct');

    Change owner

  3. chown -Rv apache:apache /var/www/wordpress/
  4. Correct permissions for directories and files
  5. find /var/www/wordpress/ -type f -exec chmod 644 {} \;
    find /var/www/wordpress/ -type d -exec chmod 755 {} \;

    Selinux

  6. chcon -t httpd_sys_rw_content_t /var/www/wordpress/ -R
    setbool -P httpd_can_sendmail=1

     

No Comments Wordpress