Does using # in URL make difference in SEO
I would like to know that whether using of # in the URL is going to effect SEO.
For example
http://www.example.com/index.php#page-1
http://www.example.com/index.php#page-2
Both the links have UNIQU开发者_C百科E CONTENTS (Contents of the page #page-1 is different from that of #page-2)
Are the pages going to be interpreted as different pages by Google?
Generally, Google indexes URLs excluding the hash part. This is because it's official use was to indicate a location on a page, not a new page. With AJAX it's use has changed.
You may sometimes see #ed links in Google search results but they are only shown as "jump to" links within the description of another result. They have to be standard anchor links for this to work.
Google offer the hash bang (#!) solution as a hack to help them index your content as if they were multiple pages. Not sure if any other search engine decided to support this. This is what Maris suggested.
The newer option is to change your URLs to not use the hash and use poststate() instead to support your dynamic content. This may not work with older browsers.
Possibly - Google is much better at reading dynamic content than in the past. However, as this answer states the correct approach is to create a static mirror: Does Google's crawler index asynchronously loaded elements?
精彩评论