If I added .html
to the URLs of my website while the pages are not in HTML, will it hurt SEOof my site or will it be helful to my site in search engine rankings?
For example, say my domain is www.example.com
which is a question and answers site, here I created a page which dynamically shows the answers of the questions, and the questions are populated from my database, so URLs are created dynamically, for example:
www.example.com/answer/my-question-no-1
www.example.com/answer/my-question-no-2
Here the questions my-question-no-1
and my-question-no-2
are from database, and I created a single page for hundreds or thousands questions.
So my question is for better SEO results Should my URL be like www.example.com/answer/my-question-no-1
or Changing the URL to www.example.com/answer/my-question-no-1.html
will improve my site ranking in search engines?
http://www.example.com/index.php
is different fromhttp://www.example.com/index.html
. So we can say that it will affect SEO, as you would be requesting files that doesn't exist.