Skip to main content
2 of 2
Use example.com, title clarity, minor code formatting
Stephen Ostermiller
  • 99.4k
  • 18
  • 141
  • 364

Is a trailing slash appropriate before URL parameters?

I understand that

http://www.example.com/product

and

http://www.example.com/product/

can actually be seen as 2 different URLs and is probably best avoided for SEO purposes, but how does this affect querystring parameters. Which is better (or even 'legal')?

http://www.example.com/product?source=googleps

or

http://www.example.com/product/?source=googleps

Do you need the trailing slash before the ?

Jeepstone
  • 273
  • 1
  • 2
  • 7