如何根据访问地址选择不同的入口

WBOY
Release: 2016-06-06 20:24:02
Original
1651 people have browsed it

网站本身已经有重写规则:RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L],
我想根据这样地址表达式 www.xxx.com/zh-cn/oop_555(数字)/* 选择另外一个入口 xxx.php
如何添加重写规则?
确实试过多次未果,各大神帮个忙

回复内容:

网站本身已经有重写规则:RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L],
我想根据这样地址表达式 www.xxx.com/zh-cn/oop_555(数字)/* 选择另外一个入口 xxx.php
如何添加重写规则?
确实试过多次未果,各大神帮个忙

可以使用 绑定模型

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template