What makes a “friendly URL”?

后端 未结 20 1902
伪装坚强ぢ
伪装坚强ぢ 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:48

    The 2nd URL looks more user friendly, whereas the first looks search-engine friendly.

    Search engines give a higher relevance to words that appear in the URL. The domain name gets the highest (because it can't change), the rest of the URL gets a high priority because the length is limited, and then the body of the document is analysed.

    My answer is quite subjective, because it depends on whether you are being human friendly (easy to type manually, or read to a friend) or whether you are being search engine friendly (boosting your ranking.)

提交回复
热议问题