Does The Fact That Every Page Is Reachable Through And Have Any SEO Impact?

- 1 answer

Our website is written in .NET MVC, where every page is reachable through the URLs, as well as (since the default action for every controller is called index). Does this have any SEO impact?

Is it possible to disable URLs with explicitly typed /index (and return a 404 for those)? Is this safe?

Should there be a redirect from to



Yes this will have an impact on SEO. Search engines like Google do not like to see duplicated content.

I will state this it is unlikely that the /index will ever be found if you do not link to it anywhere. E.G. if you always use the version then the will not be discovered.

Yes you can disable the /index page and it is perfectly safe to do so. As long as you don't need to provide an id parameter on your routes.

As you suggest you could do a redirect from the /index to / is one solution. To do this I would probably use something like URL Rewrite in IIS. The rule would look something like this:

<rule name="RemoveTrailingSlashRule1" stopProcessing="true">
  <match url="(.*)/index$" />
    <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
    <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
  <action type="Redirect" url="{R:1}" />

Myself, I would probably just use a canonical url and be done with it:

    <link rel="canonical" target="_blank" rel="nofollow noreferrer" href="" />