How to Redirect index.html and index.php to Home Page
How to Perform an Index Redirect: Redirecting index.html and index.php to Your Home Page: When migrating or updating a website (especially moving from a static site to a CMS like WordPress) one common SEO task is properly redirecting old URLs to new ones. This includes redirecting your index.html
or index.php
files to the root of your domain (the homepage) to avoid duplicate content issues and improve user experience.