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

Advertise with No-Code Supply Co.

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

Mathieu Crepel

9.12.24

Seline

9.12.24

Google Site Tools Webflow App

9.11.24

Make with Notion

9.11.24

Artemii Lebedev

9.11.24

Funsize

9.11.24

Monolith Studio

9.11.24

Current

9.11.24

Billie Tuitt

9.10.24

Arcanium

9.10.24

Relocate now

9.9.24

Rally

9.6.24

CURB

9.5.24

Lumen Orbit

9.4.24

The Arena

9.4.24

Blaze

9.4.24

Aspect

9.4.24

SupaDupa

8.30.24

Edgar Allan

8.30.24

Liv Hunt

8.28.24

MindPalace

8.28.24

OMMO

8.28.24

Um & Bau

8.28.24

AYVAN

8.28.24

Frame

8.28.24

Light/Dark Switch Library

8.28.24

Makeswift

8.24.24

MotionNumber for Framer Motion

8.24.24

BuildShip Webflow App

8.24.24

MetaDeck

8.24.24

Q-Industrial

8.22.24

AlignUI

8.22.24

Levels

8.21.24

Gorgias

8.21.24

Stedi

8.21.24

Masson

8.21.24

NoCode ProCode

8.20.24

Bonsai

8.16.24

Jekyll

8.15.24

Squint

8.12.24

Desigeist

8.12.24

Branding Website

8.12.24

BulkSEO Webflow App

8.12.24

Lottielab

8.12.24

Kieran Clarke

8.12.24

JavaScript Inside Webflow Components

8.10.24

Infinite Machine

8.8.24

Finsweet Components

8.6.24

How Google handles JavaScript throughout the indexing process

8.2.24

Lithic

8.2.24

Hirebird

8.2.24

HomeStack

8.1.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.