What makes a “friendly URL”?

后端 未结 20 1935
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 05:25

I\'ve read a great deal of discussion recently (both on this site and elsewhere) about \"friendly URLs\" but I\'m not sure what exactly makes a URL \"friendly\" and why we r

20条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-02 05:42

    My thoughts on your three bullets:

    • I'd say that's not an optimal URL. I have no idea why one would show both the post identifier and title. I don't ever include post IDs in my URLs at all, only titles and (sometimes) dates
    • For users, shorter is better.
    • Search engines look at the url. Whether it makes sense or not, they do. Having keywords in the URL will offer some SEO benefit.

提交回复
热议问题