The impact of Algolia on SEO
If implemented well, Algolia doesn’t have any direct positive nor negative impact on SEO. But there are multiple small indirect positive impacts, due to the fact that search engines prefer websites with a good UX.
Many duplicate pages
By indexing search results from any provider, not just Algolia, 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 no one page has enough to rank highly in the search result pages. This is solved with the canonical tag. It tells the search engine crawlers, “Yes, this page is a duplicate, so give all of the link equity to this other page.”
Google also doesn’t recommend indexing search results pages. They reserve the right to penalize these pages and many SEO experts recommend disallowing these pages via your robots.txt and noindex’ing them. By letting the search engines crawl lower value pages like search results, you spend up your crawl budget and it might in turn not be allocated to more important pages.
To do this, you will use the browser APIs that allow you to manipulate the browser history. This is also a good UX principle independent of the SEO benefits (which is generally the case!). Note that we do this automatically with our InstantSearch.js library if you enable URL sync.
SEO Best Practices
Here are a few best practices and reasons why an Algolia search can help improve your ranking in search engines.
Make sure all the content of your site that is indexed by Google is also indexed to Algolia. We recommend doing a backend search implementation for the initial rendering of your search results because crawlers are better at parsing HTML pages than executing JS code. After the initial load, it’s better to use a JS front end (InstantSearch for example). This is the best compromise between having a good SEO and an amazing search experience.
You want people to be happy when visiting your website, you want them to find what they are looking for. Google will recommend sites where people are spending more time. If Google recommends a site and you don’t find what you’re looking for on this site, you will go directly back to Google to search again. This back-and-forth will flag Google that people are not engaged on your site. Having a fast and relevant search such as Algolia will help keep people on your site!
We give you analytics to find out which words people are using and what they are looking for on your site. Most of the time, the words people look for on your site are the same as their Google queries. You can use analytics to figure out the words people are using to update keywords on your pages accordingly.