Migrating Craft site to another server --- throws 404 for all pages but homepage
99% chance that it is because the .htaccess file did not come over when you copied the files, as it is a hidden file. Copy that over to your new webroot and those interior pages should properly work.