A quick htaccess question

SpazzyMcSpazz

Regular Member
Joined
Apr 20, 2009
Messages
261
Reaction score
55
I wanna do redirect all the stuff like
domain.com/page1.html
domain.com/page2.html
domain.com/page3.html
to
domain.com/page

but when I do:
RewriteRule ^page(.+)$ http://domain.com/page [R=301,NC]

it redirects to domain.com/page/ and I don't want that / at the end.

is that even possible? How about just redirecting "page1" to "page.html" but in a way that the ".html" part doesn't show up when the redirect is done?
 
Back
Top