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

Can we put more than one meta tag in a single page website?

· 52CE 我爱测

I have a one page website, but it has "about us" "contact us", "services", "forum", etc... so I am little confused on how I should write the meta tags for it. Should I write only one meta tag for it because it has only one page, …

问题原文

原帖链接 · Noopur Tiwari · CC BY-SA 3.0

I have a one page website, but it has "about us" "contact us", "services", "forum", etc... so I am little confused on how I should write the meta tags for it. Should I write only one meta tag for it because it has only one page, or should I put more than one meta tag, and if I write more than one meta tag, can I put more than one meta tag in a page?

What should I write if I had to put just one meta tag, given that it contains several sections? I mean with just one meta tag there would be problem in ranking for each section, right?

社区高分解答

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

The downside of a single page website is the SEO aspect. You are not allowed to use multiple META's for the same thing (multiple 'description' doesn't work).

This is the point where you have to reconsider how you want to proceed. Is it a simple personal website which doesn't have a attract too many people? Then this is fine.

If SEO is important, you could make seperate urls (/contact, /about-us, /services) and make those work. Then load the remainder of the website via javascript and use techniques like window.pushState to change the url to the proper one.

There is plenty of documentation about this, a simple googlesearch (how to SEO a one page site):
http://www.awwwards.com/seo-tricks-for-one-page-websites.html
http://searchengineland.com/single-page-websites-seo-182506
http://codeboxr.com/blogs/is-single-page-one-page-website-bad-for-seo

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

资料来源与适用范围

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

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

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