I get a lot of 404 errors on my WordPress site and I have controlled a lot of those using the Redirection plugin.
Now there is a particular type of 404s that originate from Googlebot requests. These are for my older posts and try to look for files related to my old theme and plugins which I don't use anymore. If I browse those pages in the browser via link there is no 404 thrown, so it is like Google bot is still looking at old pages.
These plugin & theme files vary a lot. Some are js, while others are CSS files. I read somewhere earlier that overtime Google bot will learn from these 404 errors and old posts in Google cache will get updated. But after many months I still see these type of 404s happening.
I have submitted sitemaps multiple times to Google webmaster tool as well. I don't like seeing these 404 errors and I get like 500 of these every month.
How can I solve this problem? Is there any way to tell Google bot that these plugins/themes are not used by me so stop looking for them and crawl the newer version of pages if you will.
Here is one such post from my 404 log https://www.bintooshoots.com/nokia-3310-4g-connectivity-android-based-yunos-spotted-tenaa/