我正在开发一个具有以下结构的网站:
<body> <section> <sub-section> Content 1 </sub-section> <sub-section> Content 2 </sub-section> </section> <section> <sub-section> Content 3 </sub-section> <sub-section> Content 4 </sub-section> </section> </body>加载页面后,所有部分都由ajax加载。 该网站有两种语言,因此如果用户决定切换语言,则所有部分都会再次加载,但是在不同的语言中。
目标是通过Google抓取工具将每个部分编入索引为不同的页面。
到目前为止,我的方法如下:
每个部分都有元数据:关键字,标题等。当用户输入:mysite.com/section_name时,页面将加载所需部分的元数据。
问题是当googles抓取时,它会看到每个不同的页面具有不同的元数据值但具有相同的html结构。
你对如何解决这个问题有什么建议吗?
谢谢!
I'm developing a site wich has the following structure:
<body> <section> <sub-section> Content 1 </sub-section> <sub-section> Content 2 </sub-section> </section> <section> <sub-section> Content 3 </sub-section> <sub-section> Content 4 </sub-section> </section> </body>Once the page is loaded all the sections are loaded by ajax. The site has two language so if the user decides to switch the language, all sections are loaded again but in a different languaje.
The goal is to get each section indexed as a different page by the google crawlers.
My approach so far is the following:
Each section has metadata: keywords, title, etc. When a user types: mysite.com/section_name the page is loaded with the metadatada of the required section.
The problem is that when googles crawls it will see that each different pages has different metadata values but the same html structure.
Do you have any suggestion on how to solve this?
Thanks!
最满意答案
以下是一些可能有助于您创建HTML快照主题的链接。
https://developers.google.com/webmasters/ajax-crawling/ https://support.google.com/webmasters/answer/174992 抓取工具的HTML快照 - 了解其工作原理
Here is a few links that might help you with the subject of creating HTML snapshots.
https://developers.google.com/webmasters/ajax-crawling/ https://support.google.com/webmasters/answer/174992 HTML Snapshot for crawler - Understanding how it works
更多推荐
发布评论