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.

Industries

Creators

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

Curated: 
2.28.23

Similar items

Featured
Preview

Osmo

View item
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Vikas' Airtable Scripting Custom GPT

2.9.24

Lummi

2.9.24

Kemari

2.9.24

Deep Checks

2.9.24

Brandbeet

2.7.24

Aida Oliva Studio

2.7.24

Tipai

2.7.24

OutThere

2.7.24

Balky Essentials

2.7.24

The Carter Ogunsola

2.7.24

Together AI

2.6.24

Rogue Films

2.5.24

Ari Ahokas

2.5.24

Darkroom

2.5.24

Thomas Boyer-Gibaud

2.5.24

Western Sydney Lakes

2.5.24

Dare to Share

2.5.24

Snapshift

2.5.24

Teardowns.ai

2.5.24

Impulse Cooktop

2.2.24

Martin Stoleru

2.2.24

Studio Essence

2.2.24

Junior Films

2.1.24

SPCSHP

2.1.24

Venwise

2.1.24

Unbench

1.31.24

Intro to Web Design

1.30.24

Diana's Seafood

1.30.24

Josh Jacobs

1.30.24

Relume

1.30.24

Capsule

1.30.24

That Thing

1.28.24

Cue

1.28.24

Aaron Poe & Co

1.28.24

Veed

1.28.24

Letterly App

1.28.24

ART+TECH Report

1.26.24

Hello Robo

1.26.24

Supershine

1.26.24

Multi App

1.26.24

Smootify

1.25.24

Robin AI

1.25.24

Jeffrey Martin

1.25.24

Holland

1.25.24

Love The Work More

1.25.24

HTML <dialog> Modal

1.22.24

The New Dialog HTML Element Changes Modals Forever

1.21.24

Neither/Nor

1.19.24

Framer: 2023 Year in Review

1.18.24

Mindbloom

1.17.24

E&W Design Studio

1.17.24
Load more

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.