I wonder how the search engines - Yahoo, bing, google ... - interpret the exclamation mark (!) in the url:

  • www.site.com/product!651031
  • www.site.com/category!651031

I could not find documentation on this topic

  • 1
    Documentation for URLs is here, for HTTP specifically, see here.
    – hakre
    Jun 9, 2011 at 2:25

1 Answer 1


You're probably meaning the thingy documented by Google. It's called hash fragments or hash bangs (among other names), and it's very bad UI practice -- amongst other reasons, because a URI is permanent, and this lands you with a single url for your entire site.

  • I understand, but do not intend to do as twitter or facebook using /!#/ www.site.com/product!651031 this case would be a dynamic content-based ID 651031 I wonder if it would be interpreted as www.site.com/product/651031 thanks
    – Lelis
    Jun 9, 2011 at 2:51
  • 1
    Yes, it's a valid url character. As is : which you occasionally find like /foo/page:2/ Jun 9, 2011 at 10:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.