我有一个目录在我的网站:保持在URL地址的.htaccess
/new/
我要访问它,并重定向到的index.php这是低一级,但不希望更改地址URL,例如:
accessing: www.site.com/new/
check out www.site.com /index.php
and the url remains www.site.com/new/
在htaccess的不能做:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^novo/*$ /index.php [NC,L]
</IfModule>
,他怎么能这样做?
有你没有的/新目录内的index.php文件的一个原因? –
但我想保持/新/并希望他去index.php,它访问,但不保持/新/ – Mourinha
o/new只是一个重定向,但我想保留在url – Mourinha