Can an “SEO Friendly” url contain a unique ID?

前端 未结 11 1354
傲寒
傲寒 2021-01-29 23:54

I\'d like to start using \"SEO Friendly Urls\" but the notion of generating and looking up large, unique text \"ids\" seems to be a significant performance challenge relative to

11条回答
  •  遇见更好的自我
    2021-01-30 00:09

    Use something like modrewrite to parse URLs before they reach your server. So you could convert a slug like http://oorl.com/99942/My-Friendly-Text-For-Search-Engines/ into http://oorl.com/lookup.php?id=99942. This will also let you change slug and keywords used to optimize certain links without damaging functionality.

提交回复
热议问题