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

WBOY
Release: 2016-06-13 11:18:29
Original
686 people have browsed it

有没有办法实现这样的伪静态规则?
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 实现,可以去搜索一下。
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!