Streamlit: Ability to set canonical URL

Created on 28 Jul 2020  路  3Comments  路  Source: streamlit/streamlit

Users trying to get Google to index their publicly-available Streamlit apps are running into issue where Google believes every app is awesome-streamlit. Setting canonical url via nginx did not solve issue.

Desired solution would be for users to be able to have apps indexed in search engines, with the expectation that setting the canonical url would be what fixes this.

ref: https://discuss.streamlit.io/t/google-not-indexing-streamlit-site-because-setting-canonical-to-https-awesome-streamlit-org/4510

bug enhancement

All 3 comments

Just saw this -- I'd refine to the expectation would be for streamlit to not autoset their domain, here or anywhere else. Imagine a bank or gov site self-hosting a streamlit app: that would be a major red flag and security violation (mitm), and super hard to track down every hardcoded gotcha.

I don't think this is a case of Streamlit setting something, but rather that the output bundle looks the same to Google. awesome-streamlit itself is a community project unaffiliated with Streamlit the company, so we're certainly not setting people's apps to default to that.

Just to add to this - I requested indexing and google believes my site canonical is https://streamlit-0-66-demo.herokuapp.com/. Not sure what the next step here is.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

danlester picture danlester  路  3Comments

monchier picture monchier  路  3Comments

MarcSkovMadsen picture MarcSkovMadsen  路  3Comments

nadgirsanket picture nadgirsanket  路  3Comments

tvst picture tvst  路  3Comments