Skip to content

Instantly share code, notes, and snippets.

View furqanwasi's full-sized avatar
🎯
Focusing

Muhammad Furqan Wasi furqanwasi

🎯
Focusing
View GitHub Profile
@smntb
smntb / wp-permissions
Created June 29, 2021 11:57
Apply correct Permissions to WordPress webroot
# Go to the WordPress root directory
cd /path/to/wordpress
# Change ownership
find ./ -exec chown www-data:www-data {} \;
# Change folder and files permissions
find ./ -type d -exec chmod 755 {} \;
find ./ -type f -exec chmod 644 {} \;