Poeple Generally says, that guest posting is dead, but the truth is, Only spam or link building concerned guest posting is dead. Link from guest posting still works if you follow these ethical tricks.
1-Dont do guest posting with low quality or spun articles.
2-Use fresh content for guest out reach.
3-Dont link your pages with keyword rich anchor text.
4-Use organic anchors, like brand name, Click here, visit website,
5-Do guest posting to gain authority and brand building.