2

Possible Duplicate:
What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?
Hashbang versus URI parse

What would the difference between example.com/index.html and http://www.example.com/#!stories be? I would love to understand what the significance of the #! is?

Community
  • 1
  • 1
BiancaI
  • 27
  • 5

2 Answers2

4

It's a URL fragment. It's used by the client to indicate how the content at this URL should be handled. In most cases, it tells the browser to seek to a certain named anchor that's on the page. Sometimes, with Javascript, it is used to reload the page and allow some script to re-run. And in some cases, it's used to make AJAX applications crawlable by google

Jon Lin
  • 142,182
  • 29
  • 220
  • 220
0

The # in links is an skiplink to an ancor inside the HTML.

Sometimes this kind of links are used by javascript frameworks like jquery.

Raisch
  • 821
  • 6
  • 13