However, there are cases when you shouldn't do anything about the 404 error. For example, at some point, you may choose to change the structure of your website. You will replace some of the web pages with new ones, and remove others completely. You'll set up 301 redirects to show Google that the new pages have replaced the old ones. Pages you want to remove should be excluded from the search index
. To do so, you need to set up a 404 response for them. And in this case, the 404 error is not a problem and does not require fixing.