We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27672
    • 168 Posts
    in revolution is there a way to change the friendly url extension? it defaults to ’.html’. in evo there was a simple setting in the configuration where you could change it to any value (or leave blank, which i prefer). how can this be done in revo?

    i want to be able to have my url be like ’www.domain.com/about’, whether about is a container or not.
      • 27347
      • 65 Posts
      In Revo this is now handled via the System -> Content Types settings. Just double click on the .html part and make empty/blank and then save. You may have to clear your caches to see the change, i’m not sure.
        • 27672
        • 168 Posts
        awesome SiNNuT, exactly what i was looking for. knew it had to be somewhere! thanks.
          • 1441
          • 61 Posts
          Nice. Answered my Question too. (notable change from Evo.)
            • 27347
            • 65 Posts
            I’m not able to test myself but i just found this forum post:
            http://modxcms.com/forums/index.php/topic,50138.msg292079.html#msg292079

            In MODx Revolution, the extensions applied to the alias when creating friendly URLs is determined by the Content Type you select for a Resource. You can edit the HTML Content Type to be blank or even / if you want.

            The exception is if you mark a Resource as a container and the Content Type has a mime type of text/html. In this case the container_suffix system setting is used instead, which is / by default.