Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 URL 中附加一些内容,以使其保持有效。
例如:
原始网址是:http ://www.menards.com/main/appliances/air-conditioners-dehumidifiers/soleus-12-000-btu-portable-air-conditioner-with-heat-pump/p-1754474-c -5571.htm
附录:http ://www.menards.com/main/appliances/air-conditioners-dehumidifiers/soleus-12-000-btu-portable-air-conditioner-with-heat-pump/p-1754474-c- 5571.htm&sort=
我想在这个 URL 的任何地方添加一些东西,这样它就不会给出 404 Page Not Found。
“我想这样做是出于某种特定的原因”
要将 vars 附加到 url 的末尾,第一个需要以问号 ( ?) 开头,随后的变量添加一个 & 号 ( &)。
?
&
'http://my.site.com/index.html?variable1=hello&variable2=goodbye'
这可以出于“任何数量的特定原因”来完成