I live in a trailer that was built in 1974. I took down a ceiling fan that was hanging way too low for my height. I was very surprised to find 6 wires hanging down from the ceiling. Two of the wires are black, two of the wires are white, one of them is red, and the other is bare/ground. The fixture I bought to replace the ceiling fan has one black wire, one white, and one bare/ground. What is the proper way to connect my new light fixture to the wires that used to connect to my ceiling fan?
In this case black are permanent live, red is switched live and white is neutral (common). Bare copper is PE.
Just connect the light fixture black (from the fixture) to the red, then pigtail the other blacks together, then pigtail the whites togeter with the one that will come from the new fixture.
Also connect the bare copper to the PE connector (if not class II) on the new fixture