Home > Backend Development > PHP Tutorial > php 伪静态 大家帮帮小弟我

php 伪静态 大家帮帮小弟我

WBOY
Release: 2016-06-13 11:48:53
Original
821 people have browsed it

php 伪静态 大家帮帮我
RewriteRule ^img/([0-9]+).html?p=(.*)$ img.php?id-$1.html&p=$2

不是伪静态的意见可以访问

我要的效果
123.com/img/6.html?p=1

我觉得我弄对了 为什么提示404


------解决方案--------------------
RewriteRule ^img/([0-9]+).html?p=([1-9]+)$ img.php?id-$1.html&p=$2

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