We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41958
    • 65 Posts
    I have set up seo urls. It resulted in most pages ending with eg. domain/contact.html etc.. but some of them end with just like domain/services with no .html
    When I create a new page it correctly have a link without the .html wich is what I want.
    Question is, how can I convert the existing pages so the also end without the .html ?

    Is that caused by the cache system? If yes, how can I clear the corresponding or all cache?

    thx [ed. note: openstep last edited this post 13 years, 8 months ago.]
      • 7072 ☆ A M B ☆
      • 43 Posts
      The easiest way is to just go to: System -> Content Types

      delete the .html from the File Extension column and leave the field blank


      if you need to empty the cache for some reason go to: Site -> Clear Cache
        • 38723
        • 165 Posts
        You can do this through "content types":



        Then find the HTML line, double click where it says ".html"



        Click out of the box, and press "save" at the top to make changes take effect.



        That should sort your problem out.
          • 41958
          • 65 Posts
          Hi,

          this is what I did. But what I do not understand is why are some of the pages with .html still?
          That is why I a thinking there is something wrong with the way the cache is celared.
            • 38723
            • 165 Posts
            Quote from: DennisMC at Jan 15, 2013, 06:01 AM
            The easiest way is to just go to: System -> Content Types

            delete the .html from the File Extension column and leave the field blank


            if you need to empty the cache for some reason go to: Site -> Clear Cache

            Haha you beat me to it! smiley
              • 7072 ☆ A M B ☆
              • 43 Posts
              Quote from: openstep at Jan 15, 2013, 06:06 AM
              Hi,

              this is what I did. But what I do not understand is why are some of the pages with .html still?
              That is why I a thinking there is something wrong with the way the cache is celared.

              And clearing the cache from the manager as explained does not work?
                • 41958
                • 65 Posts
                The newly created pages are without the .html the older ones not.
                I tried adding some content then re save it. no luck
                  • 7072 ☆ A M B ☆
                  • 43 Posts
                  sorry for asking this again but you didn't really answer my question before, did you go to "Site -> Clear Cache" in the MODX Manager?


                  Quote from: openstep at Jan 15, 2013, 06:22 AM
                  The newly created pages are without the .html the older ones not.
                  I tried adding some content then re save it. no luck
                    • 41958
                    • 65 Posts
                    No problem, and yes I did cleared the cache in the manager.

                    Any other ideas? [ed. note: openstep last edited this post 13 years, 8 months ago.]
                      • 41958
                      • 65 Posts
                      Ok, I recreated the resources and now all is fine although I do not know to solve the initial problem.