0
是否有可能與http://welcome.com/about.php
頁面重寫URL弄成這個樣子URL http://welcome.com/about/
htaccess URL重寫文件視爲文件夾?
但是已經有一些重寫規則:
Options +Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view/([0-9]+)/([0-9]+)/([A-Za-z0-9-]+)\.html/?$ data_view.php?id=$1&cat=$2 [NC,L]
RewriteRule ^([^\.]+)$ $1.php [NC,L]
RewriteRule ^data/include/(.+)? Admin/$1
ErrorDocument 400 /page-not-found
ErrorDocument 401 /page-not-found
ErrorDocument 403 /page-not-found
ErrorDocument 404 /page-not-found
ErrorDocument 500 /page-not-found
UPDATE
我找 http://welcome.com/about.php?id=12&cat=13
成http://welcome.com/about/12/13