Short question, hopefully short answer is needed.
I migrated my drupal 6 site from live server, to localhost.
I copied all data from live server to /var/www, changed the settings.php to the new mysql database login information.
The main page opens flawlessly on localhost.
Problem is, every other sub-page. I get 404 error on every link.
What did I forget to update? I checked .htaccess didn't find anything there, that I think is relevant information, but I am not an expert in drupal systems nor in migrating them.
Thanks for you help :)
Make sure your localhost will run your htaccess file.
Turn clean URLs off.
Check your DB and replace any calls to your live server with your localhost.
That should sort it out. If not post some more info.