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

issue: old documentation links end up in 404 #971

Closed
1 task done
slax57 opened this issue Jun 7, 2023 · 3 comments
Closed
1 task done

issue: old documentation links end up in 404 #971

slax57 opened this issue Jun 7, 2023 · 3 comments
Labels
question Further information is requested

Comments

@slax57
Copy link

slax57 commented Jun 7, 2023

Version Number

N/A

Codesandbox/Expo snack

N/A

Steps to reproduce

Navigate to an old documentation link, for instance: https://react-hook-form.com/api/usewatch
The server replies with 404 Not Found

Expected behaviour

The documentation webpage should be displayed, or at least, a redirection to the correct URL (https://www.react-hook-form.com/api/usewatch in this case) should happen automatically.

I'm not sure if this change in the url was intended or not, but IMO it should be made backwards compatible because otherwise all links to the documentation (stored in StackOverflow, Discord, or other projects documentations) will end up in 404 Error.

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@bluebill1049
Copy link
Member

hi there, please change the path to /docs https://react-hook-form.com/docs we have migrate our doc to nextjs and /app is use for API.

@bluebill1049 bluebill1049 added the question Further information is requested label Jun 7, 2023
@bluebill1049 bluebill1049 transferred this issue from react-hook-form/react-hook-form Jun 8, 2023
@aranlucas
Copy link
Contributor

#972 might help for this

@bluebill1049
Copy link
Member

ty @aranlucas

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants