This started long before LLMs when Google rewarded such websites for their SEO.