Go inside your website directory and run the following commands:

For folders:

sudo find . -type d -exec chmod 755 {} \;

For files:

sudo find . -type f -exec chmod 644 {} \;