Can ElasticSearch ignore pages that are status 301 and 404?

We have duplicate pages showing up in our results. If we 301 redirect these, will that solve the issue?
Thank you.

It's not really clear what you are referring to here, can you add a bit more info?

We're implementing ElasticSearch and it's showing duplicate pages in the search results. Our fix for SEO is to redirect these pages with a 301.This would eliminate our duplicate pages for external search. If we were to fix those duplicate pages, would ElasticSearch (our internal site search) also read the 301 and only deliver the one page or will it still serve both pages in the search results.

Elasticsearch will serve results based on the data it is fed. So if something it sending it multiple pages then you will need to look at that process first.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.