【发布时间】:2017-08-07 08:28:36
【问题描述】:
我希望我的 index.php 重定向到我的welcome/index.html。我知道有很多方法可以做到这一点,但我想像 Facebook 一样缩短它。我想要一个基于 url 的重定向。我想使用 url 将 index.php 重定向到 welcome/index.html。
例如:
example.com to example.com/?url=welcome
//this 'url=welcome' is the index.html of my welcome folder.
【问题讨论】:
-
删除不适当的标签、facebook 等
-
注明@gouravbajaj
标签: javascript php jquery url-redirection