openbikesensor / openbikesensor.github.io

The OpenBikeSensor project website and documentation
https://openbikesensor.org
GNU Lesser General Public License v3.0
28 stars 32 forks source link

Quick Start Guide - broken link #179

Closed abetusk closed 1 year ago

abetusk commented 1 year ago

The link to the "hardware" section under the quoted text:

This guide assumes that you have a working OpenBikeSensor. If you don’t, start here!

Gives a 404 error page when following the link "If you don’t, start here!".

The "hardware" link on the left hand side works.

It looks like there's an issue with the www prefix as the (broken) link in the quoted text is to https://openbikesensor.org/en/docs/hardware/ whereas the (valid) link to the "hardware" tab in the left next column is to https://www.openbikesensor.org/en/docs/hardware/.

Just perusing around, it looks like this issue appears in many different locations in the documentation and other repositories where there are references to openbikesensor.org and not www.openbikesensor.org.

SubOptimal commented 1 year ago

This might be a configuration issue on the web server side with redirects.

A request to URL https://openbikesensor.org/docs/hardware/ is answered with a response status code 301 (Moved Permanently). But the redirect location is broken.

HTTP/2 301 Moved Permanently
location: https://www.openbikesensor.orgdocs/hardware/

The slash after the host is missed.

@opatut Could you please have a look?

opatut commented 1 year ago

Thanks, I think it's fixed now.

So we should still fix the fact that there are links to non-www URLs in the page itself. But the redirect has been reconfigured now (after moving the domain) and should work again.

SubOptimal commented 1 year ago

I'm currently having a look for links which are < ref ..> and might need to be changed into < relref ...>.

All < ref ... > links seems to work. What do you mean with non-www URLs?