大网数据广告活动
网站运营与故障问答

Pagination, H1 and H2 and SEO

· 52CE 我爱测

While completing a site in Drupal 7, I have been told by the SEO guy that I must use different H1 and H2 for every single page, including pagination. I have lists of quite a few pages, so I was thinking that I would need some sol…

问题原文

原帖链接 · Cesar · CC BY-SA 3.0

While completing a site in Drupal 7, I have been told by the SEO guy that I must use different H1 and H2 for every single page, including pagination. I have lists of quite a few pages, so I was thinking that I would need some solution of the type:

 <h1>Here some text describing the listing - Page 1 of 5</h1>
 <h2>Here some more subtext - Pag. 1/5</h2>

I don't know if this step is necessary, as I don't know how to dinamically solve the problem, as the H1 and H2 main texts will come from database and the only variable thing for one and other page would be the number.

Wouldn't it just suffice with the text without the - Page i of j parts?

已采纳解答

原帖链接 · Mike -- No longer here · CC BY-SA 3.0

The more unique the tags are from page to page, the better. Making it unique only by changing a digit might not be good enough.

If you can't make the tags more unique than just digits, you can consider using the word version of each number. For example, instead of:

<h1>Something - Page 1</h1>
<h1>Something - Page 2</h1>
<h1>Something - Page 3</h1>

You can do:

<h1>First page of Something</h1>
<h1>Second page of Something</h1>
<h1>Third page of Something</h1>

or even:

<h1>Something page one</h1>
<h1>Something page two</h1>
<h1>Something page three</h1>

or mix them up more:

<h1>Something the beginning</h1>
<h1>The second page of something</h1>
<h1>Something page three</h1>

In each group of tags, the first one in a group applies to the first page, the second to the second page, and third one to the last page.

If you can't make both headers unique between pages, at least make the content in H1 unique because H1 is more important than H2.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2016-01-20)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。