Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why should I use "Web 2.0"-style URLs? [closed]

Tags:

url

clean-urls

In short, why use something like http://stackoverflow.com/badges/6/supporter instead of something "simpler" (and subjectively, at that) like http://stackoverflow.com/badges/6/.

Even on my own site I've just been using /post/6/ to reference posts (by IDs, even though I still store a slug.) Instead of /post/6/small-rant-on-urls, and in some cases, they can get even more absurd, much more so than is really necessary.

like image 806
hydrapheetz Avatar asked Jan 24 '09 07:01

hydrapheetz


1 Answers

Search Engine Optimisation would be one, as well as making the URL more readable to humans. Search engines generally like your URL, Title and H2 to contain the "topic" of the page.

If you have both in there then you can manually type /ID and get automagically taken to the "flowery" URL with rewriting.. saves your fingers a bit :)

like image 90
Steven Robbins Avatar answered Sep 21 '22 18:09

Steven Robbins