Actually, search engines follow an algorithm to rank different sites based on the keyword that your are searching.. Each search engine has a different algorithm used.. Once the algorithm has been formulated, search engines send web crawlers to every site in the internet and let it read the contents based on the algorithm the search engine has..