Skip to content

Commit

Permalink
Merge pull request #37 from bhoop77/patch-1
Browse files Browse the repository at this point in the history
Added Googlebot etc. user agent since they don't support escaped fragment anymore.
  • Loading branch information
skoczen authored Nov 16, 2021
2 parents ee4fdaf + d0bb8cd commit 6148128
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 6148128

Please sign in to comment.