URL参数的HTML重定向?

时间:2016-08-17 13:50:23

标签: html url redirect parameters meta

是否可以使单个html文档具有多个重定向,以响应网址的参数?

像这样:

URL: "example.com/redirect.html?page1"
-->  <meta content="0; url=somethingelse.com/page1.html" http-equiv=refresh>

URL: "example.com/redirect.html?page2"
-->  <meta content="0; url=somethingelse.com/page2.html" http-equiv=refresh>

URL: "example.com/redirect.html?page3"
-->  <meta content="0; url=somethingelse.com/page3.html" http-equiv=refresh>

我希望你知道我的意思。

0 个答案:

没有答案