Home > Backend Development > PHP Tutorial > 求大神指导伪静态正则.

求大神指导伪静态正则.

WBOY
Release: 2016-06-13 12:21:53
Original
915 people have browsed it

求大神指点伪静态正则...
目的是想让 http:www.aa.com /member/myinfo.php  -> http:www.aa.com /member/myinfo/

我是这样写的:

RewriteRule ^member/(.+?)/ ^member/(.+?)\.php

可是没有效果...

求指点指点,谢谢
------解决思路----------------------

<br /><IfModule mod_rewrite.c><br />RewriteEngine On<br /><br />RewriteRule ^member/(.+?)/$ member/$1\.php [NC]<br /></IfModule><br />
Copy after login

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