react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

single-file-example.html link broken

Open the-sun-will-rise-tomorrow opened this issue 1 year ago • 6 comments

The page https://legacy.reactjs.org/docs/getting-started.html#try-react has a link with the text download this HTML file", that currently goes to https://raw.githubusercontent.com/reactjs/reactjs.org/main/static/html/single-file-example.html. That URL is a 404.

image

There is a warning about that. This docs are old.

Rekl0w avatar May 04 '24 09:05 Rekl0w

Ah, I did not notice that.

That page is the number one result for the Google query "react getting started".

Maybe worth adding some meta tags to remove or de-prioritize it from search engines?

I submitted a PR about that.

Rekl0w avatar May 04 '24 10:05 Rekl0w

Thanks! Though, I think rel="canonical" or a robots.txt entry might be more effective.

That page is the number one result for the Google query "react getting started".

Another one: https://www.google.com/search?q=useeffect

Yeah we gotta fix these SEO issues, thanks everyone for flagging and making suggestions. I'm swamped with React Conf but can help review and land fixes afterwards.

rickhanlonii avatar May 10 '24 01:05 rickhanlonii