Here's what i did:
- installed the wordpress db table from a .sql backup file.
- installed all plugins and themes for my site.
- made the site url and wordpress url to be localhost
- also changed the url in the wp_options table to localhost.
But the site only displays the raw html, no styles whatsoever.
*I have read the documentation on permalinks. I did what was recommended for using WAMP. It didn't help either, I don't even see the wordpress bar on the site at the top of the page.
I solved it!! It was missing some files for some reason in the wp-content folder! Wow, I thought I was going insane.