where is the evap canister purge/solenoid valve? and how hard to replace? on 1998 Nissan Maxima

engine light came on after purchasing from a private party, wasn't on when bought but after driving it home and getting low on the gas the engine lite appeared. P1493 code.

Asked by for the 1998 Nissan Maxima
It was mostly likely on when the last owner had the vehicle they probably erased the code to make the sale. But it's not hard to replace at all.
1 more answer
This valve is above and behind the left (Drivers side) rear tire. Jack up the car, support it, pull off the rear wheel, and look to the rear and slightly up. It has two screws and one electrical connection and one vacuum hose. Took all of 20 minutes to replace it. Got new part on line at Amazon and saved 50%. My check engine light was on for over a year and the codes were telling me it was knock was the purge valve.