I was reading
PLEASE BE AWARE THAT... the moc output MUST BE between the triac pins A2 and G it is never written in any datasheets but it MUST be so or your triac won't commute ...
https://www.edaboard.com/showthread.php?155997-Using-an-opto-triac-(MOC3020)-to-control-a-mains-lamp
Can anyone confirm this is the case, and also if anything bad happens if I put the MOC between triac pins A1 and G ?
edit
And lastly, any safe way to make the correct wirings on my existing badly wired PCB (meaning MOC is now between pins A1 and G, would like to make it so that it is between A2 and G) ?