#! in url???

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
azycraze
Forum Commoner
Posts: 56
Joined: Mon Oct 24, 2011 12:08 pm
Location: India

#! in url???

Post by azycraze »

why does sites like facebook,twitter etc use '#!' in their urls?
for eg:- twitter.com/#!/myprofile.

what does this means??
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: #! in url???

Post 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.
Post Reply