If your printer is not connecting to the WiFi even after you're in the range of your router and you've typed in the correct password, then there might be a problem with the printer itself. Sometimes intermittent connectivity problems can be cured by turning the printer and router back on. The printer's firmware might need to be updated and reconnected via the wireless setup menu.