Dideved - 1:42 am on May 10, 2013 (gmt 0)
The second problem is that you don't say what happens after
Does the content in fact live at
www.example.com/filename/index.html (or .php or whatever you normally use)? If not, you now need a second rule to rewrite-- not redirect-- the new URL to the physical location of the content.
The OP didn't explicitly specify, but since he's using WordPress, I suspect these are all "virtual" URLs.