Add .html when rewriting url in htaccess?

I am currently rewriting all the URLs on my site that end in .php and / or have dynamic URLs so that they are static and more search engine friendly.

I am trying to decide whether to rewrite the file names as simple lines of words, or if I have to add .html to the end of everything. For example, is it better to have a url like

www.example.com/view-profiles

or

www.example.com/view-profiles.html

???

Does anyone know if search engines prefer to do this anyway? I looked at Qaru (and several other resources), but cannot find the answer to this specific question.

Thank!

+3
source share
1 answer

SEO URL- ( )

  • unique (1 URL == 1 ressource)
  • ( )
  • (1 , )

  • www.example.com/view-profiles

.

, :

Google -, " " (. : " " google http://research.google.com/pubs/author6593.html), , google URL-, , .

google URL- .html "- ", HTML-, , , ".

, : HTML- , "" .

HTML- .html HTML, , , . URL Franzsche, .

franz, ,

p.s.: . https://webmasters.stackexchange.com/ SEO

+3

Source: https://habr.com/ru/post/1782689/


All Articles