0

我有一个使用TinyButStrong模板系统构建的网站,它由成对的 .php 页面和 .html 模板组成。

我应该在 .htaccess 文件中使用哪些规则,以便将对 .html 页面的任何调用重定向到 .php?

4

1 回答 1

3
RewriteRule ^(.*)\.html$ $1.php [NC]
于 2010-10-17T12:38:23.117 回答