Skip to content

Generative title wrongly indexed by Google #1425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jeremydouglass opened this issue May 11, 2020 · 4 comments
Closed

Generative title wrongly indexed by Google #1425

jeremydouglass opened this issue May 11, 2020 · 4 comments
Assignees

Comments

@jeremydouglass
Copy link
Contributor

Nature of issue?

  • Found a bug
  • Existing feature enhancement

Details about the bug:

Currently the Google search engine indexes the web editor along with its generative title. So, for example, it is currently listed as: "p5.js web editor | Stormy moss"

Screen Shot 2020-05-11 at 4 27 56 PM

This makes the entry look like a link to a specific sketch -- or to something specific -- when it is not, it is the editor homepage.

Change:

It would be nice to alter the time / conditions under which generated titles are added to the title bar so that robots (such as the Google crawler) do not index them, but instead list only "p5.js web editor"

@catarak
Copy link
Member

catarak commented May 22, 2020

Thanks for reporting! I have noticed this but I'm not sure how to fix it. I really don't know a ton about search engine indexing and SEO. Any suggestions or ideas about how to fix this are very welcome 😄

@jeremydouglass
Copy link
Contributor Author

One suggestion would be: don't write the sketch name into the page title until:

a) the user clicks save, or
b) the user clicks "run" for the first time

Bots never click save or run, so no bot will never index or cache a page with "Sleepy Wheelchair" etc. in the title.

@catarak
Copy link
Member

catarak commented May 26, 2020

One suggestion would be: don't write the sketch name into the page title until:

a) the user clicks save, or
b) the user clicks "run" for the first time

Bots never click save or run, so no bot will never index or cache a page with "Sleepy Wheelchair" etc. in the title.

Wow thank you! I didn't realize this would be so simple to fix, I'm on it!

@catarak catarak self-assigned this May 26, 2020
catarak added a commit that referenced this issue May 26, 2020
Fixes #1425 - Removes sketch title from <title> for unsaved, new sketch
@jeremydouglass
Copy link
Contributor Author

Just looping back here to confirm that this fix worked -- the web editor is indexed in all search engines as expected.

Screen Shot 2020-06-16 at 12 09 46 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants