views:

124

answers:

3

What do you guys think is better?

mysite.com/<username>/media/<mediaId>/<title>
or
mysite.com/<username>/media/<title>-<mediaId>

The title portion is ignored entirely and only exist to provide user readable urls. It can change. What do you guys think is better? A pro for the former is if the title is cut off/not linked the url will still resolve but the pro for the latter is the left side is readable and the ugly id is on the right and may not be noticed.

I actually dont know if i'll have problems resolving the mediaId if i combine it with the title.

Do you guys suggest another type of URL? which do you think is best?

+2  A: 

I think the first mysite.com/<username>/media/<mediaId>/<title> is better, and it may help with SEO. It's also the structure that StackOverflow itself uses.

Pervez Choudhury
+2  A: 

From the SEO perspective: No change

From User Friendliness perspective:

mysite.com/<username>/media/<title>-<mediaId>

But it's just my opinion

Eduardo Molteni
What is your reasoning behind 'No change?' As far as I have heard, intricacies of the methods used by the big search engines are fairly mysterious - one format may be preferred over another.
tehblanx
I like it, too. mediaId and title are both attributes of the same thing.
dwc
My reasoning is that the title is in the url in both cases, so the "weight" is the same. Of course I'm not Sergey or Larry and I can be perfectly wrong but we will never know for sure. In fact, the rules can change in the future.
Eduardo Molteni
A: 

Maybe I am wrong, yet I believe the second one is better. From the SEO perspective, ID is worse than word! That means - is better /, as put those ID in the tail of URL is better than put it close to the head!

Repeat again: My own opinion, I am not sure!

tag