If you've changed your router and are asking, how do I connect my HP printer to WiFi, first restore the printer's Wi-Fi setup mode. Then use the HP Smart app or the printer's Wireless Setup Wizard to reconnect it to your new network by selecting the new Wi-Fi name and entering the password.