Page 1 of 1

#! in url???

Posted: Wed Mar 28, 2012 8:10 am
by azycraze
why does sites like facebook,twitter etc use '#!' in their urls?
for eg:- twitter.com/#!/myprofile.

what does this means??

Re: #! in url???

Posted: Wed Mar 28, 2012 2:00 pm
by requinix
It looks nice. Anything with a # would work but somebody chose #! and others realized it looked cool.

All that stuff is JavaScript driven which means normally a "page" can't be linked to. So their code also modifies the URL in such a way that (a) it doesn't actually navigate the page and (b) can be copy/pasted somewhere and works.