Best way to format pretty URLs for numeric IDs

后端 未结 10 1865
谎友^
谎友^ 2021-02-02 02:48

Alright, so let\'s say I\'m writing a forum application, and I want pretty URLs. However, all my tables use numeric IDs, so I\'m not sure the best way to format the URLs for tho

10条回答
  •  迷失自我
    2021-02-02 03:46

    I would go with option 2, as SEO can better understand.

    Stack Overflow uses the third way, probably, that is the reason, Stack Overflow urls were not optimized for SEO. I am not sure in the above answer.

    But In my experience with Google, Quite Often, I could see a solution from other forums, whereas stackoverflow solutions were almost invisible.

    Best way to format pretty URLs for numeric IDs Best way to format pretty URLs for numeric IDs

    if the both urls were one and the same, the SEO simply goes with option 2, which is less optimized.

提交回复
热议问题