DC motor and L293D shield

Hi
I want to control a DC motor with magnetic encoder which has 6wires(VCC,GND,out1,out2,motor1,motor2)
I don't know which wires must connect to which pins of L293D shield to read the encoder and turn on and off the motor

L293D shields don't normally have anything to do with encoders - just connect the motor1/2 leads
to the output of the shield.

The encoder connections would typically go to the Arduino 5V, ground and two interrupt pins.

Do you have datasheets/product page links for both the motor and shield? Please post them...

Moderator edit: spammy links removed