Home  >  Article  >  php教程  >  URL_ROUTE_RULES只是跳转吗

URL_ROUTE_RULES只是跳转吗

WBOY
WBOYOriginal
2016-06-07 11:39:40945browse

设置URL_ROUTE_RULES发现只是跳转到目标地址 不是伪地址
环境:TP3.2.3
比如
'/^(\d+)$/' => '/Blog/Index/index/id/:1',
然后地址输入*.com/123就自动跳转到*.com/Blog/Index/index/id/123
而且这个配置只在app/Common/Conf/config.php中设置有效
在我的app/Blog/Conf/config.php中设置是无效的
如何设置才能达到我想要的效果呢

AD:真正免费,域名+虚机+企业邮箱=0元

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn