Redirecting index.php to root

I ran a couple of my sites through an audit and one of the things that it suggested is that I redirect my /index.php to the root url because it could confuse search engines. After doing a little research I found this snippet to place in the .htaccess file. I just wanted to get some opinions on weather this is something to be concerned with.

# Redirect index.php to root

RewriteCond %{THE_REQUEST} ^.*/index\.php

RewriteRule ^(.*)index.php$ /$1 [R=301,L]

3 replies