Qiskit / qiskit.org

The Qiskit official website
https://qiskit.org
Apache License 2.0
102 stars 108 forks source link

SEO: Optimise titles and descriptions for all pages #3188

Closed eddybrando closed 1 year ago

eddybrando commented 1 year ago

Feature description

We should review the title and descriptions tags for all pages and optimise them.

For most pages, the title is already defined but the description is not.

Additional context

paaragon commented 1 year ago

Pages with description:

paaragon commented 1 year ago

I think we should take advantage of this issue to decide what method of setting the headers for SEO we want and what attributes we set.

The most used method to set SEO headers in the project is to use the useSeoMeta composable. Some pages like /events/fall-fest use useHead to set the meta headers. I think useSeoMeta is better solution.

The most used meta atributes are:

The pages where the meta headers are setted by useHead also include these headers:

In total there are 12 headers and only 4 distinct vaules (title, description, image and url). I think we can facilitate the setting of these headers if we create a composable as a wrapper of useSeoMeta (for example useQiskitSeoMeta) that receives only the three values we use and sets all possible headers.