How can I make URLs showing the .html extension in all my pages?

For example, http://localhost/site/contacts.html

I use joomla 3.

  • The OP want his urls have the .html extension at the end. No need to close this question.
    – FFrewin
    Nov 29, 2015 at 16:34

1 Answer 1


Here is how to show it:
For adding the document extension type in your URLs, you need to go in:
-> Global Configuration
-> Site
-> enable the "Add Suffix to URL" setting, at the SEO Settings section.

Note that this may be overridden by rules in your .htaccess file, or 3rd party SEF extensions, so in case you have it enabled in Global Configuration but it doesn't show, you need to review those.

Most people don't like the extension in their URLs, why you want to have it?

  • Visitors will think that my site is made of only html. Nov 29, 2015 at 17:06
  • And html is the most secure extension Nov 29, 2015 at 17:06
  • 1
    @ITEngineer, Glad if I helped you... if that answers your question, consider to accept is as answer. But regarding your comments: Let's say that visitors pay attention to your .html extension and go a step farther to make thoughts such "Oh this is a html website" - what's your benefit of this? And what is the relation of the extension your urls will have and security?
    – FFrewin
    Nov 29, 2015 at 17:13
  • @FFrewin maybe trying for security through obscurity? IT Engineer, if that is what you are aiming for, you will also need to remove Joomla generator tags and check that your server is not putting information in the headers it sends,etc etc.
    – TryHarder
    Nov 29, 2015 at 23:50
  • 2
    Security through obscurity is not security. People will always know your site is Joomla. Period.
    – user239
    Nov 30, 2015 at 23:32

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.