Quote:
Originally Posted by ccf
Hey I know this is an old post... but I had the same issue and this communuties responses are disappointing to say the least. The answer takes all of two seconds to give and yet no one gave it?
Here's the answer:
Code:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/([0-9]+\-.*)?\.html /$1/$2 [NC,L]
As for why you'd want to do this... if you have a lot of in-bound links pointing to *.html files you don't want to just invalidate those links. That'll kill SEO, bookmarks, etc.
|
Not being an ass here, I have no idea why you would have in-bound links pointing to .html or .htm files