Someone told me that returning 404 is a bad signal to google which says to them that something is wrong with my site.
What should I return that says to google to remove that url from their index and there is no content for that page?
For example, I have something like url.com?some_arg=1 but if there is no record in the db for the id value 1 then, what should I return?