You want to use Google Webmaster Tools. In there, you can specify how you want your site to appear. Also, you might use an http redirect for the hostnames that you don't want to work anymore. If you set up a 301 permanent redirect from the unwanted to the wanted, the search engines will recognize the change and update their indexes accordingly, ultimately eliminating the incorrect links altogether. Using the AJAX Search API alone will not help you in this because ( a ) it's designed to retrieve search results, not update them, and ( b ) you are not allowed to alter the search results that you receive from the API for display on your own site.
Jeremy R. Geerdes Effective website design & development Des Moines, IA For more information or a project quote: http://jgeerdes.home.mchsi.com http://jgeerdes.blogspot.com http://jgeerdes.wordpress.com [email protected] Unless otherwise noted, any price quotes contained within this communication are given in US dollars. If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! And check out my blog, Adventures in Web Development, at http://jgeerdes.blogspot.com ! On May 9, 2009, at 2:23 PM, Tony Lawrence (pcunix) wrote: > > I've been using Google Search on my site for a while now and am > generally happy except that the results often include hostnames I > don't want. > > The results are correct in that my Apache is set to accept these names > but I really don't want them. > > For example, a result might be "zenez.aplawrence.com/Bofcusm/ > 1771.html" > > I want that to be just "aplawrence.com/Bofcusm/1771.html" > > Is there any way to just do that sort of editing other than getting > into this API? > > I suppose once I'm in here I'll find other reasons to use it but if I > can kill this behavior without effort I'd rather :-) > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-AJAX-Search-API?hl=en -~----------~----~----~----~------~----~------~--~---
