I'm writing a single-page application.

The navigation links look like this:




In terms of SEO, would this be improved by adding a file name such as:

  • 2
    ...would this be improved by adding a file name... No. Makes no difference at all. – closetnoc Mar 25 '18 at 16:48
  • 2
    index.html is a particularly poor filename for SEO. It conveys no extra meaning for search engines. The URLs usually work either with or without it, leading to duplicate content issues for SEO. – Stephen Ostermiller Mar 25 '18 at 23:48
  • I would prefer the cleaner URL without the index.html as they tend to have higher click through rates. – Michael d Mar 27 '18 at 5:45

Assuming the file name for your single page application is specifically index.html, rather than some other file same, such as single-page-application.html, whether or not you include the file name in your links should have no impact on SEO.

I would, however, recommend using https if you aren't already, as this will be beneficial for SEO.


You can get a free SSL/TLS Certificate from Let's Encrypt.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.