What makes a “friendly URL”?

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

    In this situation, it doesn't really break the DRY principal, because as far as a search engine is concerned, '522466' is not the same thing as 'what-makes-a-friendly-url'

    Generally for sites like StackOverflow, the token is the only piece of information that matters; usually you can put whatever you want after that point and it'll take you to the same place (ignored by the web server).

    The page description is only there to help the search engines identify what the page is about (which is nice)

提交回复
热议问题