FAQ / Why Algolia / The impact of Algolia on SEO
Aug. 23, 2019

The impact of Algolia on SEO

If implemented well, Algolia has a positive impact on SEO. Most search engines value good performance and user experience, and Algolia helps with both.

If you need search engines to index your search pages – on e-commerce websites for example – there are a few things to take into account to make sure they’re crawled.

Many duplicate pages

By indexing search results, you can have duplicate content due to indexing of faceted pages that show the similar results.

This can lead to a situation where link equity is spread across pages, and none has enough to rank highly in search results. You can solve this with the canonical link tag. It’s like telling search engine crawlers “Yes, this page is a duplicate, so please give all of the link equity to this other page.”

In other words, make sure you use canonical URLs to indicate primary content.

Concerns about JavaScript-delivered content

At Algolia, we recommend building search experiences on the front end, with JavaScript. This creates a much better user experience, and happy users are returning users.

In the past, there used to be big concerns about web crawlers being unable to see JavaScript-generated content. Since 2015, Google Search runs JavaScript. It is important to note, however, that Google still recommends having individual URLs for the “pages” that JavaScript creates.

To do this, you need to use the browser APIs that let you manipulate the browser history. This is also a good UX principle, independent of the SEO benefits. Note that we do this automatically with our InstantSearch.js libraries if you enable routing.

However, if you want to be 100% safe, you can also pre-render pages on the back end and serve them up to search engine crawlers. This will become increasingly unnecessary though, as web crawlers get better at executing JavaScript.

Other SEO best practices

Did you find this page helpful?