Home  >  Article  >  Backend Development  >  有没有办法兑现这样的伪静态规则

有没有办法兑现这样的伪静态规则

WBOY
WBOYOriginal
2016-06-13 12:50:49699browse

有没有办法实现这样的伪静态规则?
http://cnlongyuan.en.made-in-china.com/product/CqznseMWZGRH/China-Fresh-Garlic.html

如上地址 ,红色的应该是产品的唯一标识改了就不能访问

绿色的,随便改都可以访问,应该不是伪静态解析中的参数

不知这种规则怎么写?

比如我想这样:http://www.aaa.com/product/1234/chang-ping-name.html

1234我想作为产品的唯一ID


谢谢!


------解决方案--------------------
apache rewrite 实现,可以去搜索一下。
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