We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42689
    • 125 Posts
    soory i don't know about server mod_rewrite enabled.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      MODx generates the friendly URL from the alias. That means you have to have the alias you want, for example "about", in the "alias" field when editing the resource. You can configure MODx with a system setting to automatically create the alias from the pagetitle. Otherwise it will use the resource ID. Depending on how you configure your MODx, it may refuse to save a resource until an alias is entered into the "alias" field.

      By default the media type text/html has a suffix .html appended to the alias. You can change this by editing the media type (System -> Media Types).
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 42689
        • 125 Posts
        hmm thanx for the sharing .. smiley

        but i have check in my modex manager in the (System ->) there are not any " Media Types" option available .. can u plz tell me step by step that how can i fix that ..?
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Sorry, that should be "content types".
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 42689
            • 125 Posts
            Yeah i have checked there are no any name with the name of "Media Types". so i cannot change it .. plz help me for fix my url issue smiley
              • 28042 ☆ A M B ☆
              • 24,524 Posts
              Yes. I made a mistake. It is System -> Content Types.
                Studying MODX in the desert - http://sottwell.com
                Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                Join the Slack Community - http://modx.org
                • 42689
                • 125 Posts
                yes i mean to say taht i am also check in System -> Content Types. there are also no any "Media Types".
                  • 28042 ☆ A M B ☆
                  • 24,524 Posts
                  In System -> Content Types, find the row for HTML. Double-click on the "File Extension" field (.html) and erase the .html. Save.

                  Now your HTML pages will have just the alias, no .html at the end.
                    Studying MODX in the desert - http://sottwell.com
                    Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                    Join the Slack Community - http://modx.org
                    • 42689
                    • 125 Posts
                    Thanx sottwell for reply,

                    yeah i can manage the .html from the System -> Content Types, bt my problem is still that,when i have click on my any page at that time it's show sorry this page is not found..

                    Thanx for the help smiley
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                      If I had more details of your server configuration it would help. You say you are using Apache. Does it have mod_rewrite enabled? Is your site in its own domain, or in a subdirectory (such as domain.com/modx/)?
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org