Maytag dryer motor replacement

Please make sure to click on General above and select the correct appliance type first.

Brand:Maytag
Model Number:MEDX700XL0
Main Symptom:replace motor
What happens & when:wiring on new motor does not match old motor

Error Code (if any):
Parts or tests already tried:
Photos / video link:

The first thing to do is make sure that the correct motor was ordered which is in the following link.

https://www.appliancepartspros.com/whirlpool-27-inch-service-wpw10508324-ap6022453.html