When you replace the wireless router, make settings for the connection between the computer or the smart device and the printer.
Making Settings for Connecting to the Computer
Making Settings for Connecting to the Smart Device