Skip to main content
4 of 6
added 561 characters in body
heytools
  • 386
  • 1
  • 11

Is it correct to redirect useless "?" URLs to cleaner URLs

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: Google adds useless parameters to my URL


Update: I'm starting to believe there's nothing wrong with this technique.

Videos from Matt Cutts:

And an image picked from a moz article (look at that ?ref=123 example!):

Canonical URL Tag 301 http://d1avok0lzls2w.cloudfront.net/img_uploads/canonical-url-tag.gif
heytools
  • 386
  • 1
  • 11