safe-wallet-web icon indicating copy to clipboard operation
safe-wallet-web copied to clipboard

Add meta robots noindex for dev/staging

Open katspaugh opened this issue 1 year ago • 5 comments

Apply a <meta name="robots" content="noindex" /> tag in the staging and PR/dev deployments to keep those URLs from being indexed by web crawlers.

katspaugh avatar Feb 20 '24 16:02 katspaugh

can i work on it

Moganesan avatar Feb 25 '24 19:02 Moganesan

Absolutely, @Moganesan!

katspaugh avatar Feb 25 '24 19:02 katspaugh

so which branch i have to work on its dev right? i just want to add this meta tag in the document right?

Moganesan avatar Feb 25 '24 19:02 Moganesan

The staging environment https://safe-wallet-web.staging.5afe.dev/ is still being indexed because there's no <meta name="robots" content="noindex"> present in that deployment.

DiogoSoaress avatar Mar 07 '24 15:03 DiogoSoaress

That site is built with IS_PRODUCTION=true for pre-production testing, so the meta tag isn't inserted there. We might have to introduce another flag to differentialte this environment from both dev and prod.

katspaugh avatar Mar 07 '24 15:03 katspaugh

It's fixed now.

katspaugh avatar Jun 24 '24 08:06 katspaugh