Forum Moderators: mack

Message Too Old, No Replies

Is ".html" suffix important?

         

Caps

10:14 am on Dec 16, 2024 (gmt 0)



Hello guy, thanks you for answering my former questions and here I have a new question.

I'm building a forum on my site and I find that all the pages are generated dynamically so there are no ".html" suffix in the end of url.

For example, the url displays like www.abc.com/forum/thread-title-xxxx-xxx

Is it necessary to add the ".html" suffix in the end?

phranque

10:55 am on Dec 16, 2024 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



no

tangor

5:54 pm on Dec 16, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



^^^ Short, and correct, answer.

However, suffix does have other useful attributes which can make site management easier, reporting more concise, and logging/redirects very specific. Only "you" (webmaster) can determine what works best for you.

lucy24

9:35 pm on Dec 16, 2024 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



all the pages are generated dynamically so there are no ".html" suffix in the end of url
This isn’t actually cause and effect: the function that generates pages could perfectly well generate them with .html at the end. It may be possible to change something in settings if you particularly want that .html. (Now me, personally, when I see an extensionless URL, my first impulse is to tell it to go back in the server and put some clothes on. But I'm just an old fuddy-duddy.) Or, for that matter, you could have it put / at the end so each one looks like a directory.

But all these options--there are others that I haven't named--are most likely just creating extra trouble for yourself. The only really important thing is to make sure that all your internal links, whether auto-generated or hand-rolled, point straight to the intended URL.

Caps

1:49 am on Dec 17, 2024 (gmt 0)



Thanks for all your advice, everyone. I feel relieved now.