Detect and Don't Redirect Search Bots

Detect and Don't Redirect Search Bots

If you are doing something like a client-side (front-end) redirect with Javascript you may want to still allow Google and other search bots to index the page's content so this snippet is a way to detect if the userAgency is a bot or not, and if they are don't redirect them.

Have feedback or a question related to this item? Drop us some feedback!

Curated: 
2.28.23

Similar items

Items
2771
Search

Matheson Food Company

5.7.24

TopSphere Media

5.7.24

Lost in Space

5.7.24

Unifiers of Japan

5.7.24

Toronto Tech Week 2024

5.6.24

Natalie Almosa

5.6.24

Era

5.6.24

Good Habit

5.3.24

Anon

5.3.24

Moxie Strategies

5.3.24

The Graphite Platform

5.2.24

Perry

5.2.24

Learn Figma with Shift Nudge

FREE
5.2.24

Subframe

4.30.24

Scene.io

4.30.24

Baserow

4.30.24

hhart

4.30.24

Dead Simple Sites

4.30.24

GSAP Animation Perspective Visualizer

4.26.24

Banter

4.26.24

Sam Vogel

4.26.24

Primary Studio

4.25.24

Agile By Design

4.23.24

TripSuite

4.23.24

Bummer, no results

Try a different search/filter combo, or drop us some feedback if there is something missing you would love to see!

Reset filters

Subscribe for updates

Get updates on the latest curated resources and be the first to hear of new features.

Subscribe