Electrical wiring of an outlet
I had a two plug outlet receptacle that I replaced. One was hot wired and the other was controlled by a switch. There were two white wires that connected to the one side of the receptacle, and a black and red to the other side. When I did the same, I have two hot wired receptacles.
How do I end up with one hot, and one controlled by the switch?