Migration to localhost causes 404 errors
Recently had simmilar issue. If your Drupal site were set up with clean url-s , you might want to change 

#   RewriteBase /


in .htaccess file


Try comment it out. 
If commented, try to uncomment it.
Try to add subdirectory in that declaration, if drupal is installed
under any


Of course, check mod_rewrite as was suggested by optimusprime619