URL with Hash to be Clean URL
This question already has an answer here:
.htaccess文件:
RewriteBase /
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/#(.*)$ index.php/$1
/contact us sends you to the index.html/php or whatever in a folder called contact, but you could try some things using
return false
good luck!
链接地址: http://www.djcxy.com/p/70306.html下一篇: 哈希URL为干净的URL