Correct file permissions for WordPress

 # Set all files and directories user and group to wp-user
    chown wp-user:wp-user -R *

    # Set uploads folder user and group to www-data
    chown www-data:www-data -R wp-content/uploads/

    # Set all directories permissions to 755
    find . -type d -exec chmod 755 {} \;

    # Set all files permissions to 644
    find . -type f -exec chmod 644 {} \;
Published
Categorized as Wordpress

Setup lets encrypt auto renewal

Please follow below below link and select your os and server details. Then follow the commands.

https://certbot.eff.org/

Published
Categorized as Wordpress