【发布时间】:2013-06-08 17:44:19
【问题描述】:
当您使用GET 提交表单时,URL 变为http://site.com/form?a=1&b=2。
问题:为什么有些网站使用像http://site.com/form/?a=1&b=2 这样的网址,其中GET 参数与主网址分开(不正确的术语?) /.
示例:http://www.nastygal.com/shoes/?filterIDList=10&minPrice=0&maxPrice=1000
【问题讨论】:
-
我想问同样的问题 +1
-
因为没关系?
-
你可能想看看这里:coding.smashingmagazine.com/2011/11/02/… -
/form可能指的是/form.php并隐藏了扩展名,/form/可能是/form/index.php使用 URL 重写。 -
“/”实际上与GET参数无关,与url路径有关。
标签: php html forms rest routes