Metatag content in two languages
-
Hi My site in development is using a dynamic system that outputs metatag content and page titles stored in the database for each page, with defaults to catch any situation where no values exist for a particular page. Now the crunch for me here is that the page is to be aimed at two audiences in particular. International and German speaking. Currently it is outputing content in english but I need to somehow reliably determine (using ASP3) if the incoming user (or crawler/robot for that instance) is from a german domain so that meta tag content and page titles are in german. This is especially important (in my situation) for indexing on google.de Or does it not matter in this instance. Cheers for any help in this matter. John
-
Hi My site in development is using a dynamic system that outputs metatag content and page titles stored in the database for each page, with defaults to catch any situation where no values exist for a particular page. Now the crunch for me here is that the page is to be aimed at two audiences in particular. International and German speaking. Currently it is outputing content in english but I need to somehow reliably determine (using ASP3) if the incoming user (or crawler/robot for that instance) is from a german domain so that meta tag content and page titles are in german. This is especially important (in my situation) for indexing on google.de Or does it not matter in this instance. Cheers for any help in this matter. John
johncogan wrote: Currently it is outputing content in english but I need to somehow reliably determine (using ASP3) if the incoming user (or crawler/robot for that instance) is from a german domain so that meta tag content and page titles are in german. This is especially important (in my situation) for indexing on google.de Firstly there is no 100% reliable method, some Germans are going to slip through and some non-Germans are going to be tagged as Germans. So make sure you have a "English/German" toggle on the site that people can click. Ok, if 100% of your traffic is coming from Google.de searches then just do a referrer check. It is available through the ASP Headers. The other way is to get the IP and then ascertain if it might be of German origin. Have a look at GeoIP right here on CP for this. :) Enjoy.
Paul Watson
Bluegrass
Cape Town, South AfricaRoger Wright wrote: Using a feather is kinky; using the whole chicken is perverted!
-
johncogan wrote: Currently it is outputing content in english but I need to somehow reliably determine (using ASP3) if the incoming user (or crawler/robot for that instance) is from a german domain so that meta tag content and page titles are in german. This is especially important (in my situation) for indexing on google.de Firstly there is no 100% reliable method, some Germans are going to slip through and some non-Germans are going to be tagged as Germans. So make sure you have a "English/German" toggle on the site that people can click. Ok, if 100% of your traffic is coming from Google.de searches then just do a referrer check. It is available through the ASP Headers. The other way is to get the IP and then ascertain if it might be of German origin. Have a look at GeoIP right here on CP for this. :) Enjoy.
Paul Watson
Bluegrass
Cape Town, South AfricaRoger Wright wrote: Using a feather is kinky; using the whole chicken is perverted!
Cheers for this Paul, on thinking on it, I think trying to seperate the two is going to be difficult so will probably have to translate the site into german at a later date. Now all I need to find is someone who can read/write german :/ Good to see there is a visible SA presence on this site. I am in the UK/London and missing the World Cup :(
-
Hi My site in development is using a dynamic system that outputs metatag content and page titles stored in the database for each page, with defaults to catch any situation where no values exist for a particular page. Now the crunch for me here is that the page is to be aimed at two audiences in particular. International and German speaking. Currently it is outputing content in english but I need to somehow reliably determine (using ASP3) if the incoming user (or crawler/robot for that instance) is from a german domain so that meta tag content and page titles are in german. This is especially important (in my situation) for indexing on google.de Or does it not matter in this instance. Cheers for any help in this matter. John