0

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

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

I use joomla 3.

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

1 Answer 1

2

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?

9
  • Visitors will think that my site is made of only html. Commented Nov 29, 2015 at 17:06
  • And html is the most secure extension Commented 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
    Commented 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
    Commented Nov 29, 2015 at 23:50
  • 2
    Security through obscurity is not security. People will always know your site is Joomla. Period.
    – user239
    Commented Nov 30, 2015 at 23:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.