Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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
1  
Documentation for URLs is here, for HTTP specifically, see here. –  hakre Jun 9 '11 at 2:25
add comment

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

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

1 Answer

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

Your Answer

 
discard

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