solid / solid/solidproject.org
Footer links, redirects, slashes
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 183
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Description
On Site footer (or _data/footer.yml):
- "Using Solid" links to https://solidproject.org/users but on the browser (where JavaScript is enabled) it redirects to https://solidproject.org//users/get-a-pod (note double slashes). See also:
$ curl -i https://solidproject.org/users
HTTP/2 200
cache-control: public, max-age=0, must-revalidate
content-length: 509
content-type: text/html; charset=UTF-8
date: Wed, 24 Feb 2021 11:58:20 GMT
etag: "2302d6749045fddf1e48426c2473152e-ssl"
strict-transport-security: max-age=31536000
age: 4122
server: Netlify
x-nf-request-id: 13617b25-cb13-4e43-9183-af0c2a3cb5b0-10276399
<!DOCTYPE html>
<html lang="en-US">
<meta charset="utf-8">
<title>Redirecting…</title>
<link rel="canonical" href="https://solidproject.org//users/get-a-pod">
<script>location="https://solidproject.org//users/get-a-pod"</script>
<meta http-equiv="refresh" content="0; url=https://solidproject.org//users/get-a-pod">
<meta name="robots" content="noindex">
<h1>Redirecting…</h1>
<a href="https://solidproject.org//users/get-a-pod">Click here if you are not redirected.</a>
</html>
-
"Self-hosting" links to https://solidproject.org/self-hosting and redirects to https://solidproject.org//self-hosting/nss (note double slashes).
-
There may be others elsewhere on the site...
Two common issues:
- Update URLs in footer
- Fix redirect eg. double slashes
See also issue https://github.com/solid/solidproject.org/issues/514 as that appears to also have some issues with slash handling ie. /TR should not exists as a separate resource since /TR/ is the canonical resource.
The overarching task is URI Templating: https://github.com/solid/solidproject.org/issues/249 . There is currently no systematic way of designing or maintaining the site's URIs.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the footer links in _data/footer.yml and reproduce the /users and /self-hosting redirects with curl. Check issue 514 for related slash-handling context and issue 249 for the broader URI-templating task; done means the footer URLs and redirects no longer produce double slashes, including any other affected site links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, yaml
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100