问题原文
原帖链接 · 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
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
