Thread:Project:Support desk/Mediawiki 301 redirect with .htaccess?

Hi.

I changed my url structure.

My old urls: http://viki.gameofthronestr.com/index.php/Stark_Hanesi My new urls: http://viki.gameofthronestr.com/Stark_Hanesi

So, i just remove "/index.php" part from the urls.

I want to redirect all old urls to all new urls with .htaccess.

How i do that? Give me some code please?