To prevent shorting, rig your trailer's wiring so that no junctions or terminals are ever submerged. Elevate lights on upright poles bolted to the frame. Don't join the wires in a Y-formation on the trailer body. Instead, run separate wires from each taillight all the way to the vehicle plug. For extra protection, use outdoor extension cord rather than standard electrical wire.