mcmuney Posted July 2, 2009 Share Posted July 2, 2009 I'd like a rule that would redirect any page with .htm or .html to .php, for example: index.html will redirect to index.php privacy.htm will redirect to privacy.php Thanks. Link to comment https://forums.phpfreaks.com/topic/164548-rewrite-rule/ Share on other sites More sharing options...
rhodesa Posted July 2, 2009 Share Posted July 2, 2009 try: /(.*)\/.html? /$1.php [R] Link to comment https://forums.phpfreaks.com/topic/164548-rewrite-rule/#findComment-867940 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.