0
嗨,大家好,我正在使用这个,我知道htaccess正在工作,因为它重定向到notfound.php但由于某种原因,我无法让它工作不显示扩展名(PHP/HTML)的任何帮助这里?htaccess删除扩展
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
Options Indexes
ErrorDocument 404 notfound.php
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.socialscenes\.co\.uk)(:80)? [NC]
RewriteRule ^(.*) http://socialscenes.co.uk/$1 [R=301,L]
DirectoryIndex index.php
order deny,allow