vendure-ecommerce / vendure

The commerce platform with customization in its DNA.
https://www.vendure.io
Other
5.77k stars 1.02k forks source link

Broken Documentation Links in google search result #2572

Open Draykee opened 11 months ago

Draykee commented 11 months ago

Describe the bug Since Google indexed many old documentation pages already, they show up with broken links in some google search results. Upon clicking the search result link on google I get redirected to a 404 page.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior I would recommend to put in a "report broken link" button to slowly implement redirects for these old links.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

Draykee commented 11 months ago

Redirects are already defined here: https://github.com/vendure-ecommerce/vendure/blob/master/docs/static/_redirects

Apparently you can update the 404 theme with this command: npm run swizzle @docusaurus/theme-classic NotFound. Maybe a button linking to an issue create link would be enough.