-
Notifications
You must be signed in to change notification settings - Fork 53
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
Replace www links with / #66
Comments
These are the contents of
So what should we do? |
This is an example of such a link, as it does not do any redirect: https://github.com/erlang/erlang-org/blob/master/_news/149.md?plain=1#L24 However, we do not want this type of link to be changed: https://github.com/erlang/erlang-org/blob/master/_news/145.md?plain=1#L22-L26 as they are caught by the redirect. I would expect that almost all of the links we want to rewrite point to https://www.erlang.org/doc/, but there might be other as well. |
What I will do is replace now that the links are standardized , replace when go over the redirect rules and find (/download|/course) etc and prefix them with So in other words, do no rely on _redirect rules for links within the site, and only leave those rules from incoming links from the outside |
Once done we can run a link checker throughout the site and find broken links and fix them manually. |
Speaking of links, one things that I have had on my todo list is to change any links that point to
www.erlang.org
to instead point to/
if they are not to be redirected in _redirects. This would allow the broken link checker to check those links as well just to make sure that they remain.Originally posted by @garazdawi in #61 (review)
The text was updated successfully, but these errors were encountered: