Search Engines
This document discusses the relationship between your InterMine-based website and search engines.
If you launch your website, eventually your site will be found and indexed by Google or other search engines.
Being listed on the search engines is beneficial as it will drive traffic to your site. However being listed can result in unintended consequences, like exposing "hidden" parts of your site. InterMine provides an easy way to control which parts of the website are indexed by the search engines.
#
Search Engine OptimisationTo use each of the search engines' webmaster tools, you need to include a CODE
in a meta tag on your website. You can do this by updating your properties file like so, replacing CODE
with the value that Google/Microsoft/Yahoo provides:
Note See also Google Analytics
#
'''robots.txt'''The easiest way to control what the search engines index is to use a file called robots.txt. Robots use this file to determine which parts of the site they can visit. This file should be located in the root of your site, ie. www.flymine.org/robots.txt
You can also specify which search engines can index your site, e.g. Google or Yahoo. Here is an example file:
This file bans all search engine robots except for Google, Yahoo, and MSN. In addition, this file forbids the robots to index files in the release-8.1 and release-8.2 directories.
Read more about this document on the http://www.robotstxt.org website.
#
NOFOLLOWYou can restrict access to directories via the robots.txt file, but you can also configure your site to allow or forbid access to specific web pages.
To prevent the search engine robots from following links on that page, set the noFollow attribute in the InterMineWebApp.properties file like so:
#
SitemapsSearch engines often have difficulty indexing dynamic websites. The easiest solution for this is provide a sitemap that indicates which pages should be indexed.