Are you fed up by the Permalinks error 404 in your wampserver or local host. Here is the solution for your issue with 4 simple steps.
Step 1. Go to WampServer
Step 2. Click on Apache
Step 3. Then go to Apache Modules in the sub menu
Step 4. Scroll down to find and select the rewrite_modues
Now check your permalinks structure, hopefully in a working condition.