Unplug the dryer and unscrew the small metal cord cover on the back of the dryer that goes over the opening the cord comes out of.
Loosen the nuts or bolts on the terminal block to remove the individual wires.
Remove the bonding jumper if you are switching from a three-prong plug to a four-prong plug. Leave it on if you are replacing a three-prong plug with another three-prong plug.
The bonding jumper will either be a #10 green wire or a copper strap and connects to the central (neutral) terminal of the terminal block at one end and to the dryer's frame at the other end.
Loosen the cord connector screws and remove the cord.
Insert the new cord and attach each wire to the appropriate terminal. Connect each wire by matching cord wire colors to terminal wire colors (black to black, red to red and white to white). Tighten the terminal nuts. If you are wiring a four-prong plug, the fourth green wire will now connect to the grounding screw on the dyer (the screw that held the bonding jumper to the dryer's frame). If your dryer's frame does not have a screw and screw hole for attaching a grounding wire, drill a hole and attach the grounding wire with a sheet metal screw and washer. Make sure the green wire is properly connected to the dryer's frame in order to safely ground the machine.
Turn off the breaker switch in your breaker box that controls your dryer.
Plug in the new cord and turn your dryer dial to the "On" position.
Test the new cord by switching breaker switch in the breaker box on and off. The dryer should also turn on and off. Stand clear of the dyer in case there is a problem with the connection.
Replace the metal cord cover.