문제

I have a site constructed using the TinyButStrong template system, so consisting of pairs of .php pages with .html templates.

What rules should I use in a .htaccess file such that any call to a .html page is redirected to the .php?

도움이 되었습니까?

해결책

RewriteRule ^(.*)\.html$ $1.php [NC]
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top