The importance of integrating distributed generation (DG) units into the distribution network (DN) recently developed. To decrease power losses (PL), this article presents a meta-heuristic population-based tangent golden flower pollination algorithm (TGFPA) as an optimization technique for selecting the ideal site for DG. Furthermore, the proposed algorithm also finds the optimal routing configuration for power flow. TGFPA requires very few tuning parameters and is comprised of a golden section and a tangent flight algorithm (TFA). Hence, it is easy to update these parameters to obtain the best values, which provide highly reliable results compared to other existing techniques. In different case studies, the TGFPA’s performance was assessed on four test bus systems: IEEE 33-bus, IEEE 69-bus, IEEE 119-bus, and Indian-52 bus. According to simulation results, TGFPA computes the optimal reconfigured DN embedded along with DG, achieving the goal of minimal power loss.