Workaround solution to help Yandex crawler index discource.

Yandex search engine doesn't index noscript tag content. See also
http://meta.discourse.org/t/noscript-tag-and-some-search-engines/8078
This commit is contained in:
Anton Batenev
2013-07-04 22:08:23 +04:00
parent 28c168fc2b
commit af36d32f7f
5 changed files with 30 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class SiteSetting < ActiveRecord::Base
client_setting(:must_approve_users, false)
client_setting(:ga_tracking_code, "")
client_setting(:ga_domain_name, "")
client_setting(:yandex_workaround, false)
client_setting(:enable_long_polling, true)
client_setting(:polling_interval, 3000)
client_setting(:anon_polling_interval, 30000)