Ad

Does Having Both Www.sitename.com And Www.sitename.com/index.php In Site Links Affect SEO?

- 1 answer

I was told this by a coworker, and I was curious if this was true. They requested I change any links on a site that point to the homepage as 'index.php', I'm assuming because they think it will treat the two different URLs (www.sitename.com and www.sitename.com/index.php) as duplicate content. However, I don't think that this is the case. What say you, StackOverflow?

Ad

Answer

It might, but the best way to avoid this (and any other duplicate content issues) is to use the canonical link tag

Ad
source: stackoverflow.com
Ad