Closed (fixed)
Project:
Search 404
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
29 Jul 2006 at 21:50 UTC
Updated:
1 Apr 2007 at 13:32 UTC
Would it be possible/feasible to redirect to a 'proper' 404 page or some 'stock' or pre-defined message page when someone/somebot tries to retrieve a non-existent image?
A search shouldn't be performed for anything with an image extension; maybe it could function like the 'words to ignore' but be 'requests to ignore'?
(I've just converted my website into drupal, so I'm getting a lot of requests for missing images!)
Cheers
Comments
Comment #1
forngren commentedI doesn't quite understand what you are asking for, should one be redirected when he try access a non-existing image?
Comment #2
fronbow commentedSorry for the confusion.
A "search redirect" shouldn't happen for an image. In an ideal situation, a real 404 should be returned.
In the current version, if someone requests an image (directly in their browser), they get redirected to a meaningless/wasted search.
If a search engine is requesting the image, then a 404 should be issued, otherwise the search bot could start penalising your site cos you're redirecting to a text page when it's expecting an image (possibly?)
Does this make better sense?
Comment #3
forngren commentedI'm working on bit of a major rewrite of s404 (http://drupal.org/node/70557), I think I can include this feature there.
Comment #4
fronbow commentedCheers :)
Comment #5
larssg commentedI hope to add this feature during this weekend. I agree that it could be solved simply with a "requests to ignore"-field where you could enter space-separated strings that, if found, would make the module "abort" and let Drupal show the standard 404-page.
Comment #6
larssg commentedforngren: I posted a reply at http://drupal.org/node/70557.
Comment #7
forngren commentedFixed in 5.x-series http://drupal.org/node/128884
Comment #8
(not verified) commented