Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
文件.php
include('site.html');
网站.html
<a href='folder/hello.html'>Link</a>
当您将鼠标悬停在 Link 上时,它会在状态栏中显示 folder/hello.html。我怎样才能让它显示 hello.html 呢?我无法修改 site.html。
include('site.html');用替换file.php怎么样<a href='hello.html'>Link</a>?
<a href='hello.html'>Link</a>
您可以为此使用 mod_rewrite
RewriteRule ^.*hello.html /folder/hello.html
并将链接更改为 hello.html