For nearly three decades, search engine optimization (SEO) was governed by a relatively straightforward playbook:…