Duplication in landing page
-
This is driving me mad, I have a site that for some reason google and moz pick up the landing page as a duplicate.
They see "mysite/" and "mysite/index.html" as two different pages and giving me warnings for duplication. I have no 301 included at this time and I am using foundation as the base. This is occurring both on a localhost test bed and live....... anyone got an idea how to correct.
-
The best thing to do is a 301 from one to the other. For a more specific answer, you need to give more information about your platform.
For example, in apache, you could put a .htaccess file in the same directory and add:
[EDIT] Pasting the code here wasn't displaying correctly, so I put it here:
-
Thanks Eric,
-
It looks like part of your response got cut off. Or you meant to use a '.' not a ','

-
'.' - thanks!