So let’s follow the step’s:
Step1. Click on Your WampServer.
Step2. Now the second step is to click on Apache.
Step3. Now click on the Apache modules > then you see rewrite_module and check it.
Now Refresh your WampServer and then use the code for hide the extension from url.
That’s it! hope you guys like this post and please don’t forget to share.