Site does not work after restored backup from cPanel

After host restored the site from backup, Defender kept locking me out. After disabling Defender, the site would go into a redirect loop. The site was suppose to be setup in a subfolder (as in but since restoring the site from backup, this only causes 500 Internal Server errors or redirect loops.