There was an old website located at
http://example.com. Then it has been replaced by a new website, with a totally new url configuration, leaving old domain, but switching to https-only. So now all http-requests are redirected to
The problem now is that there are a lot of search bot requests that try to access old-website urls and receive 301 as a response, redirecting to https site, and only then properly receiving 404.
So, it's been several months now and it looks like bots are not going to forget about old urls. Maybe they just don't understand that kind of response and consider a page still alive? If that so, how could I possibly fix the problem? Naturally, I could allow users to interact with http-site as well (disable the redirect), but that's generally unsecure (though, probably, no big deal for a short time), so I'd rather not do this.