|
发表于 2017/3/3 15:28
|
显示全部楼层
|阅读模式
|Google Chrome 45.0.2454.101 |Windows 7
咋办呢,能否改
- <IfModule mod_rewrite.c>
- RewriteEngine on
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
- RewriteRule ^(.*)/item/(.*)\.html$ $1/product/Index/id/$2 [QSA,PT,L]
- RewriteRule ^(.*)/about/$ $1/page/index/id/45.html [QSA,PT,L]
- RewriteRule ^(.*)/brand/(.*)\.html$ $1/product/brand/id/$2 [QSA,PT,L]
- RewriteRule ^(.*)/help/$ $1/page/index/id/36.html [QSA,PT,L]
- RewriteRule ^(.*)/help/question.html$ $1/page/index/id/35.html [QSA,PT,L]
- RewriteRule ^(.*)/info/news.html$ $1/portal/list/index/id/6.html [QSA,PT,L]
- RewriteRule ^(.*)/info/news.html?p=(.*)\$ $1/portal/list/index/id/6/p/$2.html [QSA,PT,L]
- RewriteRule ^(.*)/info/sub.html$ $1/portal/list/index/id/7.html [QSA,PT,L]
- RewriteRule ^(.*)/info/sub.html?p=(.*)\$ $1/portal/list/index/id/7/p/$2.html [QSA,PT,L]
- </IfModule>
复制代码
首页可以进, 内页就404了 |
|