Search engines use equations called algorithms to determine which sites are most relevant to the search. The algorithm takes into account several complex factors when establishing positions. Two primary factors are the quality of other websites that are linking back to your website and the topic the search engine believes the page is about, based on the content.