The World Health Organization (WHO) recommends exclusive breastfeeding for the first six months of life, followed by continued breastfeeding along with appropriate complementary foods up to two years of age or beyond. This recommendation is based on the significant health benefits that breastfeeding provides during these periods.