WIRING
PLUGS & CORDS: REPLACING: LAMP
With the lamp unplugged, the shade off, and the bulb out, you can remove the socket. Squeeze the outer shell of the socket just above the base and pull the shell out of the base. The shell is often marked Press at some point along its perimeter. Press there and then pull.
Under the outer shell there is a cardboard insulating sleeve. Pull this off and you’ll reveal the socket attached to the end of the cord.
With the shell and insulation set aside, pull the socket away from the lamp (it will still be connected to the cord). Unscrew the two screws to completely disconnect the socket from the cord. Set the socket aside with its shell (you’ll need them to reassemble the lamp)
Remove the old cord from the lamp by grasping the cord near the base and pulling the cord through the lamp.
Bring your damaged cord to a hardware store or home center and purchase a similar cord set. (A cord set is simply a replacement cord with a plug already attached.) Snake the end of the cord up from the base of the lamp through the top so that about 3" of cord is visible above the top.
Carefully separate the two halves of the cord. If the halves won’t pull apart, you can carefully make a cut in the middle with a knife. Strip away about 3/4" of insulation from the end of each wire.
Connect the ends of the new cord to the two screws on the side of the socket (one of which will be silver in color, the other brass-colored). One half of the cord will have ribbing or markings along its length; wrap that wire clockwise around the silver screw and tighten the screw. The other half of the cord will be smooth; wrap it around the copper screw and tighten the screw.
Set the socket on the base. Make sure the switch isn’t blocked by the harp—the part that holds the shade on some lamps. Slide the cardboard insulating sleeve over the socket so the sleeve’s notch aligns with the switch. Now slide the outer sleeve over the socket, aligning the notch with the switch. It should snap into the base securely. Screw in a light bulb, plug the lamp in, and test it.