Minecraft Bedrock overworld gold farm is sending zombified piglins to the nether

Solution 1:

Try laying half slabs across the top of all the portals of your gold farm. Build a fence around any portal in both the overworld and the nether. The half slabs on the top of the portal seems to solve the issue on my farms.