Your router's wifi history is saved in the router's memory. To wipe your wifi history, you can either reset the router or go into the router's settings. The procedure for resetting the router varies depending on the model, so check your user manual.