Magento Need help with .htaccess Redirection of index.php to root

Hello there,

I do not want my URLs on my Store to contain index.php

I have tried the following code in my .htaccess file to redirect index.php to root.

I then tried to resolve and it showed me an error page as shown in the attachment

I need help in resolving this issue.

All my urls including product pages contain index.php which I want to get rid off.

Looking forward for some help.

Thanks & Regards,

Thread moved to Apache Configuration forum, where you’re more likely to get helpful answers on this topic


A 500 error is typically the result of a syntax error in the .htaccess file. Since you’ve not shown that, I can’t help any further.