Hello ~ Getting below message from a link checker and can't figure out how to fix.
List of redirects
The links below are not broken, but the document does not use the exact URL, and the links were redirected. It may be a good idea to link to the final location, for the sake of speed.
warning Lines: 98, 104 http://www.example.com/index.html redirected to http://www.example.com/
Status: 301 -> 200 OK
This is a permanent redirect. The link should be updated.
This is the link referenced above:
<a href="index.html">Home</a>
What's weird is I have this exact link in 3 places on that page yet it's only one of them that I'm getting the above message for (line 98) and only for my home page (index.html) although link is part of my navigation at bottom of ALL of my website pages.
..........................
In case you need to see, below is part of what I have in my htaccess file:
# keeps index.html part of url hidden
# always keep above canonical code
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html http://www.example.com/$1 [R=301,L]
# canonical always to www
RewriteCond %{HTTP_HOST} !^(www\.example\.com)?$
RewriteRule (.*) http://www.example.com/$1 [R=301,L]