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.
I've messed around on very large sites (million+ pages) with different URL structures, e.g.:
cgi-bin with parameters and no keywords
nested keywords (using a pseudo-folder structure '/')
nested keywords (using a pseudo-flat structure '-')
keyword ordering with dynamic first, and dynamic last etc
Honestly you're not going to notice anything really different in terms of SEO, as long as you do have the keyword in the URL.
In terms of usability, well that can be subjective and there's no proven order, but since most English users read LTR (left to right), then you should aim to have the keywords (title) hanging at the end otherwise it can get lost in the surrounding meta (after the domain). This approach also depends on URL length as it will get truncated in bookmarks, browser chrome, search results etc.
也许我错了,但我相信第二个更好。 从SEO的角度来看,ID比word还糟糕! 这意味着 - 更好 /,因为将这些 ID 放在 URL 的尾部比将其放在靠近头部的位置更好!
再说一遍:我自己的看法,我不确定!
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!
发布评论
评论(4)
我认为第一个
mysite.com//media//</code> 更好,并且可能有助于 SEO。 这也是 StackOverflow 本身使用的结构。
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.从 SEO 角度来看:没有变化
从用户友好度角度来看:
但这只是我的观点
From the SEO perspective: No change
From User Friendliness perspective:
But it's just my opinion
我在具有不同 URL 结构的非常大的网站(数百万个以上页面)上搞砸了,例如:
老实说,只要 URL 中包含关键字,您就不会注意到 SEO 方面有什么真正不同。
就可用性而言,这可能是主观的,并且没有经过验证的顺序,但由于大多数英语用户阅读 LTR(从左到右),那么您应该将关键字(标题)挂在末尾,否则可能会迷失周围的元(在域之后)。 这种方法还取决于 URL 长度,因为它会在书签、浏览器镶边、搜索结果等中被截断。
I've messed around on very large sites (million+ pages) with different URL structures, e.g.:
Honestly you're not going to notice anything really different in terms of SEO, as long as you do have the keyword in the URL.
In terms of usability, well that can be subjective and there's no proven order, but since most English users read LTR (left to right), then you should aim to have the keywords (title) hanging at the end otherwise it can get lost in the surrounding meta (after the domain). This approach also depends on URL length as it will get truncated in bookmarks, browser chrome, search results etc.
也许我错了,但我相信第二个更好。
从SEO的角度来看,ID比word还糟糕! 这意味着 - 更好 /,因为将这些 ID 放在 URL 的尾部比将其放在靠近头部的位置更好!
再说一遍:我自己的看法,我不确定!
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!