URL with Hash to be Clean URL

This question already has an answer here:

  • Modify the URL without reloading the page 18 answers

  • .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

    上一篇: Facebook中的网络部分更新效果已更改

    下一篇: 哈希URL为干净的URL