PHP 伪静态 问题 指向错误
发布网友
发布时间:2022-04-06 02:17
我来回答
共3个回答
热心网友
时间:2022-04-06 03:47
只要支持伪静态的,而且从来没出现过不能访问的情况,除非下面的代码写错了,我是这样子做的
RewriteRule taoou/proct-([0-9]+)\.html$ taoou/proct.php?bid=$1
RewriteRule taoou/proct-([\w]+)-([0-9a-z]+)\.html$ taoou/proct.php?bname=$1&bid=$2
RewriteRule taoou/proct-([\w]+)-([0-9a-z]+)-([0-9]+)\.html$ taoou/proct.php?bname=$1&bid=$2&page=$3
RewriteRule taoou/proct2.html$ taoou/proct2.php
RewriteRule taoou/proct2-([0-9]+)\.html$ taoou/proct2.php?bid=$1
RewriteRule taoou/proct2-([\w]+)-([0-9a-z]+)\.html$ taoou/proct2.php?bname=$1&bid=$2
RewriteRule taoou/proct2-([\w]+)-([0-9a-z]+)-([0-9]+)\.html$ taoou/proct2.php?bname=$1&bid=$2&page=$3
RewriteRule taoou/search.html$ taoou/search.php
RewriteRule taoou/search-([\w]+)\.html$ taoou/search.php?keyword=$1
RewriteRule taoou/search-([\w]+)-([0-9]+)\.html$ taoou/search.php?keyword=$1&page=$2
热心网友
时间:2022-04-06 05:05
可能路径错误
热心网友
时间:2022-04-06 06:39
代码贴的太乱了吧?