Improve technical SEO: canonical URL, title, language, description and structured data
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- html, javascript
Direzione di ricerca
Start with index.php and data/themes/default/hypha.html, then read related issues #78, #365, and #376 for existing title, language, and description work. The issue also calls for canonical URLs and NewsArticle structured data, so identify the page and article metadata paths before estimating implementation. Done means pages expose the requested canonical URL, page title, content language, description and social description, and peer reviewed articles include the specified structured data.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Search engines get little or misleading information from Hypha pages. This costs De Stadsbron search traffic.
Canonical URLs
The same page is reachable through several URLs; the home page of De Stadsbron, for example, through 4 different URLs. Search engines split ranking over these duplicates.
- Add
<link rel="canonical" href="...">to every page, using one preferred URL (https, with language, lower case) - Optionally redirect the non-preferred variants with a 301 (see #274, #247)
Page title
index.php sets the <title> to the site title only ($hyphaHtml->setTitle(hypha_getTitle())), so every page is titled "De Stadsbron".
- Set the title to
<page or article title> | <site title>, and only the site title on the home page (see #78)
Language
The default theme (data/themes/default/hypha.html) has an <html> element without a lang attribute.
- Set
langto the content language of the current page, not the interface language (see #365)
Meta description
Pages have no <meta name="description">, so search engines and social media choose a random fragment.
- Use the excerpt of an article, or an optional "Search engine description" field
- Fall back to the first ~155 characters of the text
- Reuse the same text for
og:description(see #376)
Structured data
Search engines cannot tell who wrote an article, when it was published and whether it has comments.
- Add a
<script type="application/ld+json">block with a NewsArticle for peer reviewed articles, containing headline, author, datePublished, dateModified, image, publisher andcommentCount(optionally the comments asComment)
Related: #78, #115, #138, #247, #274, #365, #374, #375, #376, #401
Origin: meeting on the future of Hypha (De Stadsbron).
- Lingua principale
- JavaScript
- Stelle
- 5
- Fork
- 9
- Merge medio
- 18h 7m
- PR unite (30g)
- 11
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di PlanBCode/hypha
-
Component: User interface Impact: Low Level: Easy Pagetype: Peer reviewed article Type: Bug Value: Visitors
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Medium Level: Easy Type: Bug Value: Users
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Low Level: Easy Pagetype: Festival Type: Bug Value: Coders
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Medium Level: Easy Pagetype: Mailinglist Type: Bug Value: Users
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
Impact: Low Level: Easy Type: Bug Value: Coders
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
PlanBCode/hypha#586 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di PlanBCode/hypha
Issue simili
-
[guide] AGENTS.md claims the coverage gate, e2e and full lint run on every PR after ADR 0011 focused validationForse già presa @hivecommons-hive l’ha presa oggi. Apertaagent/guide documentation hive/claimed-by-guide stage/040-covered-by-pr
Difficoltà 2/5 1-3 ore Idoneità per principianti 81/100
cncf/endusers#2006 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
check:passed feeds:add
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 4 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
all-contributors/cli#587 ·
I maintainer di solito rispondono entro 1 giorno
-
RGAA5
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 8 giorni
-
feedback simulation workshop
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
githubnext/gh-aw-workshop#5157 ·
I maintainer di solito rispondono entro 1 giorno