htaccess写法一例
RewriteEngine on
RewriteBase /test/
RewriteRule ^test([0-9]*).html$ test.php?id=$1
RewriteRule ^new([0-9]*)/$ new.php?id=$1
实现效果:
http://localhost/test/test123.html 转化为:http://localhost/test/test.php?id=123
http://localhost/test/new123/ 转化为:http://localhost/test/new.php?id=123
转载文章请注明转载自:九创主题
标签: PHP
very good,i'm finding,thank you!
thinkyou,share it。
过来逛逛,给博主增加点人气
php seo...
I love your style, the fact that your post is a little bit unlike others makes it so interesting, I get tired of seeing the same-old-same-old all of the time. This page is now in my stumbleupon bookmarks...
I only post that useful things to me and others.