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.
我有一个使用TinyButStrong模板系统构建的网站,它由成对的 .php 页面和 .html 模板组成。
我应该在 .htaccess 文件中使用哪些规则,以便将对 .html 页面的任何调用重定向到 .php?
RewriteRule ^(.*)\.html$ $1.php [NC]