RewriteEngine On # Turn on the rewriting engine
RewriteRule . url.php [NC,L]
我将所有请求重定向到 url.php,但我想按原样保留 index.php。
# Turn On ReWrite Engine
RewriteEngine On
# Exclude url.php and index.php from redirecting
RewriteCond %{REQUEST_URI} !^/(index|url)\.php
# Redirect to url.php
RewriteRule . url.php [NC,L]
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)