Media URL shows 404 error, but the media doesn't exist anymore
vincent replied to thread Media URL shows 404 error, but the media doesn't exist anymoreThank you for your answer @binayjha ! The problem that I'm facing ATM is that those attachment pages don't exist anymore in my back end (can't see them in wp-admin at all). I've tried to "Redirect attachment URLs to parent post URL." but it only made my website crashed. Now, I'm unsure as if I should put "Post type : Media (attachment)" to noindex. I want my media to be index, but not the attachment page.
Note that we are running a old version of the Yoast SEO and I can't see the "search appearance" menu...
Thank you in advance for your answer!
Media URL shows 404 error, but the media doesn't exist anymore
vincent published thread Media URL shows 404 error, but the media doesn't exist anymoreHi all! I've been struggling with this issue. I'm newly in charge of the SEO of my company. After an audit, we have more than 1 000 404 errors. All of them are old image URLs former employees uploaded and deleted. The media is deleted from our Wordpress, but the URL still exists and still gets crawled by Google. Here's an example: 404 Not found https://steelspaceconcepts.com/projets/axe/axe-steel-space-concepts-2/
We do not have any image to redirect to. I don't have access to my robot.txt file (I think) and we are running on an old version of Wordpress (and all of our plugins). We are working on a new website ATM)
I've been searching a lot about this subject, but can't find the solution.
Summary: Old URL of attachment page being crawled by Google, returns 404 errors because the media (image) is deleted.
Thank you in advance!