Hydraulic directional valve solenoid uses for WE10 solenoid operated valves, with individual plug connection. The plug mating connector is installed in each coils to control the coil de-energized condition or energized condition. If the voltage of solenoid is direct current, there is a rectifier in each matting connector to transfer the alternate current to direct current. The size and voltage is necessary to pay attention before order or replace the solenoids, but it should be cut off electric power before changing the coils. The coil lock of hydraulic directional valve solenoid nut must be tightly fastened, in case there is a little oil leakage from the connection gap between the valve house and coil.