【发布时间】:2014-11-13 14:48:33
【问题描述】:
如果域不包含某些关键字,我该如何重定向?
例子:
我的具有允许访问权限的域是
www.example.net/example/thisisallowed*
或
www.example.net/examplefolder/thisisallowedtwo
以及所有其他 URL,例如每个示例
www.example.net/example/notallowed
或
www.example.net/example/anotheruri
被禁止?
所以所有没有我的 URL 密钥的 URL 都应该被重定向到:
www.example.net/example/thisisallowed
【问题讨论】: