-
-
Notifications
You must be signed in to change notification settings - Fork 75
fix: add redirect for /documentation/getting-started/ to /documentation/tutorials/getting-started/ #474
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
fix: add redirect for /documentation/getting-started/ to /documentation/tutorials/getting-started/ #474
Conversation
…on/tutorials/getting-started/ Signed-off-by: Chigo <72313512+coolchigi@users.noreply.github.com>
4ffadee to
fe30965
Compare
|
Hello @coolchigi Where is this broken link referenced on the website ? I think the existing get started page (https://microcks.io/documentation/tutorials/getting-started/) is okay and there is no need to create a separate page just to redirect to it Except it's a broken link on a page that need to be fixed and not creation of a new page |
hii @Caesarsage, thanks for reviewing! To clarify the issue: the broken link is on the Vercel preview deployment at
Vercel deploys from this same repo, and since there's no folder at [getting-started], Hugo generates a 404 for that path. The actual page lives at Happy to explore other alternatives if you have a different approach in mind. Let me know your thoughts! |
@coolchigi, thanks. The broken link is on the Vercel preview deployment. Updating the link on the Vercel preview deployment to point directly to the correct page (/documentation/tutorials/getting-started/) might be a better approach. Since the actual site doesn't reference the broken link, it's likely not affecting many users. Creating a redirect page might add redundancy, especially if it's not referenced elsewhere. Other suggestions are welcome cc @yada @lbroudoux |
Thanks @coolchigi, ideally you should have open an issue on this topic before a PR ;) As yes and fully agree with @Caesarsage : this is not an issue on the public website and BTW, Vercel is outdated (our fault here...), see: #333 We should clean it up and close #333 (remove Vercel) and move forward on #334 to setup Netlify correctly :) If you have expertise on Netlify or want to dig further to make it efficient, you are more than welcome :) |
|
Close as superseded by #334 |


Problem
The URL
https://microcks-io.vercel.app/documentation/getting-started/returns a 404 error. Users trying to access the shorter URL path encounter a broken link.Solution
Added a redirect file that automatically redirects requests from
/documentation/getting-started/to the correct location at/documentation/tutorials/getting-started/.Changes
content/documentation/getting-started/_index.mdwith redirect layoutTesting
After merge, the following URL should redirect properly:
https://microcks.io/documentation/getting-started/→https://microcks.io/documentation/tutorials/getting-started/Type of Change