Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from stackoverflow.com Jun 12 '11 at 14:11

This question came from our site for professional and enthusiast programmers.

Documentation for URLs is here, for HTTP specifically, see here. – hakre Jun 9 '11 at 2:25

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.

share|improve this answer
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 '11 at 2:51
Yes, it's a valid url character. As is : which you occasionally find like /foo/page:2/ – Denis de Bernardy Jun 9 '11 at 10:23
was exactly what I wanted to know thanks :) – Lelis Jun 9 '11 at 20:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.