I think you wiring is fine also; you mentioned earlier that it popped the fuse when you moved the handlebars, and that you duplicated the problem with the stock headlights. That tells me that it is the movement that is causing the problem, and the only thing I can think of or have ever see that fits that situation is a mechanical fault, almost always in a wire itself. Again, in the ones I have seen and all that I have known about, it is a wire that has no insulation in a location, usually due to abrasion over time (dragging past something in normal use) or something that has been pinched or badly nicked, and that damage area rubs against something metal on the bike, which is grounded, and that is the cause of the short circuit.
Where I would start is by using the best lighting possible down in front of the fuel tank, and turning the bars back and forth to see what is moving, rubbing, etc. and then feeling around that (those) wire really well, looking for any damage. Also, any solid areas such as the frame, that have any wear marks from something dragging on them.
Again, this is what comes to mind from your couple of short posts. Of course I am not there and have no magic insight, just grabbing at the information I have..... assuming I followed it correctly in the first place
Best of luck; intermittent electrical problems are the most difficult, annoying things to diagnose and fix. Many vehicles have been sold for this very problem.
Brian
Thanks Brian. The headight wires are factory loomed and I have never had them apart. I did have a fuse block and wires going to an accessory port on the dash but those circuits were not blowing. I totally get what you are suggesting but I would have no idea where to start because the circuit that was blowing has not been altered.
I try to keep electrical as stock as possible for this reason. I will know more tomorrow after testing further. Maybe the H4 connection was not secure and causing a problem. At a loss