This is NOT about redirecting /index.php?id=6252 to /category-name.
It's about redirecting:
/category-name?ref=blabla&something=useless-stuff
/category-name?
/category-name????????
to:
/category-name
in a small website that does not use GET methods at all.
I have never seen this technique used (or discussed) anywhere, even Google allows you to visit:
https://www.google.com/????? (PR=0)
instead of:
https://www.google.com/ (PR=9)
I don't like adding extra html tags (i.e. canonical) or http headers to my website, so I thought why not this?
My biggest fears though is that search engines wouldn't appreciate it.
I just came to this question but it doesn't add much, I'm not planning to share URLs with extra parameters: