Vamos a examinar el atributo rel de las url en una página web. Éste sirve para establecer una relación entre la página que contiene el enlace y su destino.
Es un microformato que informa de la jerarquía de una página web (index, section, chapter, next, prev…), indica a los robots si han de seguir el enlace o no (nofollow), o incluso sirve para establecer vínculos de amistad o trabajo (friend, co-worker, colleague…)
Como supondréis, es importante para el correcto posicionamiento de una página y parte importante del SEO.
Así se haría un link correcto:
<a href=”http://www.dgcmedia.es” rel=”index” tittle=”Diseño web Madrid”>Diseño Web Madrid</a>
Os dejo un par de tablas con variables del atributo rel (en inglés)
| Value | Description |
|---|---|
| acquaintance | The person represented by the current document considers the person represented by the referenced document to be an acquaintance |
| alternate | The rel=”alternate” attribute specifies an alternate version of the document. When used with the link element’s hreflang attribute, this value implies a translation of the document. When used with link’s media attribute, a media-specific version (e.g., for printing) is implied. |
| archives | The rel=”archives” attribute indicates that the referenced document describes a collection of records, documents, or other materials of historical interest. |
| author | The rel=”author” attribute indicates that the referenced document provides information about the author of the current document. |
| bookmark | The rel=”bookmark” attribute indicates that the referenced document is a bookmark or permalink for the enclosing section or document. |
| child | the referenced person is a child of the person represented by the current document |
| co-resident | the referenced person lives in the same residence as the person represented by the current document |
| co-worker | the referenced person is a co-worker of the person represented by the current document |
| colleague | the referenced person is a colleague of the person represented by the current document |
| contact | the person represented by the current document considers the person represented by the referenced document to be a contact |
| crush | this person considers the referenced person to be a crush (i.e. has a crush on the referenced person) |
| date | this person considers the referenced person to be a date (i.e. is dating the referenced person) |
| external | The rel=”external” attribute indicates that the referenced document is not part of the same web site as the current document. |
| first | The rel=”first” attribute is a synonym for rel=”start”. The rel=”start” attribute indicates that the referenced document is the first in a document collection. |
| friend | the person represented by the current document considers the person represented by the referenced document to be a friend |
| help | The rel=”help” attribute indicates that the referenced document contains context-sensitive help. |
| icon | The rel=”icon” attribute indicates that the referenced document is an icon for the current document. |
| index | The rel=”index” attribute indicates that the referenced document is a table of contents or index for the current document. |
| kin | the referenced person is part of the extended family of the person represented by the current document |
| last | The rel=”last” attribute indicates that the referenced document is the last page in a document collection. |
| license | The rel=”license” attribute indicates that the referenced document is a license that governs the current document. |
| me | the referenced document represents the same person as does the current document |
| met | this person has met the referenced person |
| muse | the referenced person inspires the person represented by the current document |
| neighbor | the referenced person lives nearby the person represented by the current document |
| next | The rel=”next” attribute indicates that the referenced document is the next document in a document collection (after the current document). |
| nofollow | The rel=”nofollow” attribute indicates that the author of the current document does not endorse the referenced document or that the link to the referenced document was included primarily because of a commercial relationship between people affiliated with the two pages. |
| noreferrer | The rel=”noreferrer“ indicates that the no referrer information is to be leaked when following the link. |
| parent | the referenced person is a parent of the person represented by the current document |
| pingback | The rel=”pingback” attribute indicates that the referenced document is a pingback server for the current document. |
| prefetch | The rel=”prefetch” attribute indicates that the author recommends preemptively fetching and caching the specified resource. |
| prev | The rel=”prev” attribute indicates that the referenced document is the previous document in a document collection (before the current document). |
| search | The rel=”search” attribute indicates that the referenced document can be used to search the current document and its document collection. |
| sibling | the referenced person is a sibling of the person represented by the current document |
| sidebar | The rel=”sidebar” attribute indicates that the referenced document is meant to be opened in a sidebar, if the browser supports it. |
| spouse | the referenced person is a spouse of the person represented by the current document |
| start | The rel=”start” attribute indicates that the referenced document is the first in a document collection. |
| stylesheet | The rel=”stylesheet” attribute indicates that the referenced document is a stylesheet for the current document. |
| sweetheart | this person considers the referenced person to be their sweetheart |
| tag | The rel=”tag” attribute indicates that the tag that the referenced document represents applies to the current document. |
| up | The rel=”up” attribute indicates that the referenced document is the parent of the current document in a hierarchical document collection. |
| alternate | An alternate version of the document (i.e. print page, translated or mirror) |
| stylesheet | An external style sheet for the document |
| start | The first document in a selection |
| next | The next document in a selection |
| prev | The previous document in a selection |
| contents | A table of contents for the document |
| index | An index for the document |
| glossary | A glossary (explanation) of words used in the document |
| copyright | A document containing copyright information |
| chapter | A chapter of the document |
| section | A section of the document |
| subsection | A subsection of the document |
| appendix | An appendix for the document |
| help | A help document |
| bookmark | A related document |
| nofollow | “nofollow” is used by Google, to specify that the Google search spider should not follow that link (mostly used for paid links) |
| license | Link to copyright information for the document |
| tag | A tag (keyword) for the current document |
| friend |
DGCmedia Diseño web, posicionamiento y publicidad en Google Adwords
1 comentarios
site
site en dijo:Как стало известно на днях, Google теперь будет расценивать rel=“nofollow” как подсказку, а не директиву. То же самое касается и атрибута nofollow в метатеге robots. При этом meta robots noindex останется директивой.