Skip to content

Commit

Permalink
Added Googlebot, Yahoo, & bingbot user agent since they don't support…
Browse files Browse the repository at this point in the history
… escaped_fragment anymore.
  • Loading branch information
bhoop77 authored Nov 27, 2019
1 parent 7613a16 commit d0bb8cd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions django_seo_js/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,9 @@
)))

USER_AGENTS = frozenset(getattr(django_settings, 'SEO_JS_USER_AGENTS', (
# These first three should be disabled, since they support escaped fragments, and
# and leaving them enabled will penalize a website as "cloaked".
# "Googlebot",
# "Yahoo",
# "bingbot",

"Googlebot",
"Yahoo",
"bingbot",
"Ask Jeeves",
"baiduspider",
"facebookexternalhit",
Expand Down

0 comments on commit d0bb8cd

Please sign in to comment.