phpbb-seo / usu

Ultimate phpBB SEO Friendly URL extension
GNU General Public License v2.0
17 stars 12 forks source link

url structure : put the topic id at the beginning of the url in case of truncated url? #55

Open zetrader opened 3 years ago

zetrader commented 3 years ago

Hi, the url structure is actually that way for topics or forums : myforum.com/the-subject-i-want-to-talk-about-txxx.html myforum.com/the-forum-where-i-am-talking-fxxx.html

Problem, if a CMS o somebody truncated a bit of the url we'll have quickly a 404 error :

myforum.com/the-subject-i-want-to-talk-(...) -> error 404

If the topic id is at the beginning of the url :

myforum.com/txxx-the-subject-i-want-to-(...) -> no error 404

And for many reasons, the url can be truncated, so it would avoid the 404 error in many cases and display the right topic.

Same thing for forum urls.

What do you think? Easy to change?