Reputation: 141
In short, I want all pages ending with .htm to redirect to one single page.
I have a newsarchive with a lot of news articles. They all end with .htm so I want all urls ending with .htm to redirect to one single page
How do I do this?
Upvotes: 2
Views: 520
Reputation: 785216
You can use RedirectMatch
rule:
RedirectMatch 302 \.html$ /single-page
EDIT: Fixed typo in RedirectMatch
Upvotes: 1