Page 404 Error on Localhost

In some instances (tried everything counts) I’ve had to (be sure I had a current xml export of the content + ftp back up of the wp-content dir + copy paste your customized CSS and other code) wipe the site, fresh install WP install all the plugins, theme, etc then import the xml and/or copy the wp-content dir back to the site.
I’m sure there’s many fixes out there, but from experience I’ve found a simple wipe and re-set-up often saves so much time.