wordpress localhost subpages not working

I’ve been banging my head against the wall because a local install of a wordpress I’m developing would for some reason not let me go to any wordpress subpages. I kept looking at my permalink settings, they looked fine, tried adding mod_rewrite to my htaccess file. It didn’t make sense because the admin pages were working. Then I found this tip on Stack Overflow. Sometimes all it takes is going to the permalinks page and hitting the save button to regenerate the permalinks. Thank you Enniu!

https://stackoverflow.com/a/17623426/8061436