As Google Bot is visiting one of our websites with wrong URLs, I constantly get Server errors bugging me as Administrator (The reason is that I accidentially submitted a wrong sitemap 3 months ago. Yes, I have resubmitted, deleted, resubmitted several times but it's still visiting).
I now learned in the Google Forum that using a 410 response will make the goggle bot stop visiting.
Does anyone have an idea how to send a 410 response from Symfony2? If that won't work, I would also be fine with a plain PHP-solution.
Thanks a lot for any help.