solid / solidproject.org

Website for solidproject.org
https://solidproject.org
MIT License
147 stars 101 forks source link

`/origin` redirects to `//about` (double slash) #841

Closed csarven closed 2 months ago

csarven commented 5 months ago

https://solidproject.org/origin redirects to https://solidproject.org//about . The double slash (//about) is not a typo. Should be single slash.

$ curl -i https://solidproject.org/origin
HTTP/2 200 
accept-ranges: bytes
age: 9
cache-control: public,max-age=0,must-revalidate
cache-status: "Netlify Edge"; hit
content-type: text/html; charset=UTF-8
date: Mon, 29 Apr 2024 21:45:16 GMT
etag: "1292923d16ddb33b7cc7272114bbeee5-ssl"
server: Netlify
strict-transport-security: max-age=31536000
x-nf-request-id: 01HWNX3EZYKV4JHWB6XCD4PFPR
content-length: 469

<!DOCTYPE html>
<html lang="en-US">
  <meta charset="utf-8">
  <title>Redirecting&hellip;</title>
  <link rel="canonical" href="https://solidproject.org//about">
  <script>location="https://solidproject.org//about"</script>
  <meta http-equiv="refresh" content="0; url=https://solidproject.org//about">
  <meta name="robots" content="noindex">
  <h1>Redirecting&hellip;</h1>
  <a href="https://solidproject.org//about">Click here if you are not redirected.</a>
</html>
michielbdejong commented 2 months ago

This is in the current site, so will not be a problem anymore once we launch the redesign, right?

VirginiaBalseiro commented 2 months ago

I believe that redirect is defined here: https://github.com/solid/solidproject.org/blob/1443b1bbfb4528a96c2ae14c297e7207d08d1d1d/pages/origin.md?plain=1#L4

layout: page-about
title: Origin
permalink: origin
redirect_to: about

So yes, this will be resolved in the new design, but we probably should add origin.html or something.

michielbdejong commented 2 months ago

Wrapping this into #884