Hello guys, I made an observation and noticed that sites with high speed generally have .html at the end of the URL. I guess they do this with a plugin?
I can do it from the Permalinks section too, but this wouldn’t affect site speed..
I would do /%postname%/.html but it wouldn’t affect site speed. I think they do this with a plugin?
If you set the permalink section to /%postname%.html in this way, it will end in .html, but this has nothing to do with the speed of sites ending in .html. Clean coding and server performance directly affect site speed.
I believe that when you change your setting to /%postname%.html, the backlinks you received to your post with the /%postname% format will be lost because the page will not be found. For this reason, I think you might need to redirect your old post to the new extension format. If your old posts are currently ranking, there is a possibility that they might drop in the rankings as a result of this process. This is a sensitive topic, so I suggest you do not attempt it without a thorough understanding. If friends knowledgeable about this subject share their comments, we will also learn thanks to you, thank you..
To be honest, I am also considering switching back from .html to a flat folder structure. I use image attachment pages a lot, and their URLs end up looking like post-title.html/attachment/image/. It does the naming as if the HTML file were a folder. Actually, I think it would be better if I could do URL rewriting to make it look like post-title-image.html.
The URL structure does not provide any benefit to SEO or site speed. There is no advantage to adding or not adding .html. Personally, I don’t add it; why should the URL be 5 characters longer? I prefer it to end in the format of dot com/uygulamali-url-anlatimi.
I am in favor of adding .html. However, if your main domain is very long or your site has a lot of content, I do not recommend adding .html. (Because pages without .html will return a page not found error)