我有一个类似的URL www.example.com/store/,它通向商店页面
www.example.com/store/
当用户点击折扣链接时,它会添加参数?discount=foo,因此我的链接如下所示:www.example.com/store/?discount=foo.
?discount=foo
www.example.com/store/?discount=foo
一切都很实用.但是在这种情况下在查询字符串之前使用正斜杠是不好的做法吗?
url query-parameters trailing-slash
query-parameters ×1
trailing-slash ×1
url ×1