I am building a site which will display content in the visitors language based on their IP address. The index page (eg. www.example.com) contains a script to detect visitor country and uses the Location header to redirect as follows...
www.example.com/en (English home page)
www.example.com/fr (French home page)
www.example.com/es (Spanish home page)
www.example.com/it (Italian home page)
www.example.com/de (German home page)
All other countries will automatically default to the English home page.
I am concerned that search engines will not be able to index my site because of the redirect so I am looking for a method to overcome this?
I know I could detect Googlebot etc. and serve a special index page (with crawlable links) but am I asking for trouble here?
Does anyone have any ideas?