You can do the full installation again or re-install wordpress. Cause in localhost your page will come when you goto localhost only. It will automatically redirect to the working directory.
- Reinstall wordpress in XAMPP. OR
2. Uninstall current XAMPP. Remove all folder and then install XAMPP again. Then install wordpress.