Search engines don’t index 4XX pages simply because they don’t perform. Consequently, they’ll disregard any canonical tags pointing to these pages and often end up indexing the incorrect (non-canonical) Model of the web site. If you're using WordPress, there may be a placing which you could use to incorporate canonical tags https://dmozbookmark.com/story18848649/the-%D0%90%D0%B2%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5-%D1%82%D0%B5%D0%B3%D0%B8-hreflang-%D0%B8-%D0%BA%D0%B0%D0%BD%D0%BE%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B5-%D1%82%D0%B5%D0%B3%D0%B8-seo-diaries