Posts Tagged ‘Drupal Modules’
Using Google CSE on Drupal
The goal was to use Google CSE on drupal, and while I got it working it was not near as easy as I would have liked.
At first it seemed simple, google provides two pieces of code; One to build the search form, and one to display the results within your own page.
I added a block for the Google search form which was quite simple. After creating the block I removed Drupals search block and added the new Google search block. (On creating the search engine I gave it the url of http://cross-tags.com/search-result for the results to appear).
Drupal Sitemaps
Because this domain was bought and used for a while for development and testing for all kinds of things its got continual search bot traffic to those old urls. Some of them I do not want to delete and force a 404 to get rid of.
A couple of google gadgets and other things I'd like to keep. But the robots are not searching the new content they are continually pulling things that will never change.
A sitemap.xml file would help as the fact that those pages would not be listed should get them to give more attention to the newer / real content.