Skip to content
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

single-file-example.html link broken #6832

Open
WxNzEMof opened this issue May 4, 2024 · 6 comments
Open

single-file-example.html link broken #6832

WxNzEMof opened this issue May 4, 2024 · 6 comments

Comments

@WxNzEMof
Copy link

WxNzEMof commented May 4, 2024

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.

@Rekl0w
Copy link
Contributor

Rekl0w commented May 4, 2024

image

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

@WxNzEMof
Copy link
Author

WxNzEMof commented May 4, 2024

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?

Rekl0w added a commit to Rekl0w/react.dev that referenced this issue May 4, 2024
@Rekl0w
Copy link
Contributor

Rekl0w commented May 4, 2024

I submitted a PR about that.

@WxNzEMof
Copy link
Author

WxNzEMof commented May 4, 2024

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

@WxNzEMof
Copy link
Author

WxNzEMof commented May 5, 2024

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

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

@rickhanlonii
Copy link
Member

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.

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

No branches or pull requests

3 participants