settings - Is it possible to dynamically set the preferred language of a google custom search engine -
say have website in 2 languages each under own domain:
- websitename.com
- websitename.fr
both have paid custom search engine. in future more websites added other languages. dramatically increase costs custom search engines.
i'd rather have single search engine searches of websites, preferred language set me depending on website loads engine. way visitor on websitename.fr have french pages ranked higher.
google cse supports searching multiple websites , setting preferred language. can't seem find how alter setting dynamically when loading engine in 1 of websites. possible @ all, or option have different cse each website?
gcse.src = 'https://cse.google.com/cse.js?language=fr&cx=' + cx;
just add language
parameter in src cse.js.
Comments
Post a Comment