For WordPress permalink structure to work, your wamp installation must have mod_rewrite module enabled.

To enable the module, simply find your httpd.conf file, search for mod_rewrite and remove the hash (#) in front of the line. Save your configuration file and restart apache. Voila! Permalinks are working now.

see also:
How to change permalinks under WAMP

search terms:
wamp make permalinks work, xamp permalinks, why permalinks are not working, wamp permalinks not working, wordpress permalink on localhost