[ic] how do I stop Google from trying to index scan pages?

Peter peter at pajamian.dhs.org
Thu Sep 18 22:01:52 UTC 2008


On 09/18/2008 02:50 PM, Stefan Hornburg (Racke) wrote:
> Peter wrote:
>> On 09/18/2008 02:13 PM, Stefan Hornburg (Racke) wrote:
>>> Rene Hertell wrote:
>>>
>>> [..]
>>>
>>>> To get completely rid of inactive products, i added this to the top of
>>>> my flypage:
>>>>
>>>> [if-item-field inactive]
>>>> [tmp page_title][msg arg.0="[item-code]"]Sorry, the page (%s) was not
>>>> found[/msg][/tmp]
>>>> [tag op=header]
>>>> Status: 404 Not found
>>>> Content-type: text/html
>>>> [/tag]
>>>>
>>> Inactive products shouldn't be displayed, at least not if
>>> HIDE_FIELD is set to inactive.
>> They won't be displayed in search results, but they will certainly be 
>> displayed if called directly on the flypage (unless a change has been 
>> made very recently that I missed).  I solved that problem with a [bounce 
>> if=...] tag on the flypage a while back.
> 
> We should at least put that into standard.

Mine currently bounces to the index page, but something more appropriate 
would be to create a special page for it that says something like, "You 
have reached a product that has been discontinued...".

Peter




More information about the interchange-users mailing list