docs
docs copied to clipboard
Throws 404 code when visiting any route directly
Description
When browsing the docs website a 404 error is returned if the entry point is anything apart from https://docs.hoppscotch.io/.
Scenario A:
- Visit https://docs.hoppscotch.io/, browser loads the page.
- Get code 200.
- Click GraphQL (or anything else), Nuxt changes the route and renders the page.
- Code is still 200.
Scenario B:
- Visit https://docs.hoppscotch.io/graphql (or any other direct route), browser loads the page.
- Get code 404.
- Click Introduction (or anything else), Nuxt changes the route and renders the page.
- Code is still 404.
Impact
⚠️ This will be hurting docs SEO quite badly, making it more difficult for people to find info on the project.
Cause
Its look good to me when I visited the above page. I tried with both the option. Can you please confirm.?
Scenario B still returns a 404 status code, even though it loads the page correctly.
Can confirm, 404 when accessing any route directly that isn't the docs homepage.