We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11599
    • 2 Posts
    Reproduce the error.

    1. Create New Document -> Input all required data -> In my case, I set Resource Alias = "how-are-you" -> On setting page, check Container
    2. Craete New Document -> Input all required data -> In my case, I set Resource Alias = "iam-fine".
    3. In use URL Friendly
    4. I did remove the extension .html from Content Types

    What happen?!

    1. Access localhost/modx/ => I have the generated URLs as below


    1. http://localhost/modx/how-are-you/
      http://localhost/modx/im-fine

    2. I click to (2) everything is ok => I have the generated URLs as below


    1. http://localhost/modx/how-are-you/
      http://localhost/modx/im-fine

    3. If i click (1) => I have the generated URLs as below


    1. http://localhost/modx/how-are-you/how-are-you/
      http://localhost/modx/how-are-you/im-fine

    4. If i click (1) of 3 above => I have the generated URLs as below


    1. http://localhost/modx/how-are-you/how-are-you/how-are-you/
      http://localhost/modx/how-are-you/how-are-you/im-fine

    SO, I don't know why.

    Ah, my .htaccess is simple as below

    RewriteEngine On
    RewriteBase /modx/


    Anyone can help?! Thank you so much!

    P.S: I'm new to MODX. I've just installed MODX ^___^ Revolution 2.2.6 pl (Traditional)
      • 8548
      • 104 Posts
      Have you fixed our problem? I have the exact same one, I'll keep looking for answers.

      cheers
        • 10208 ☆ A M B ☆
        • 1,780 Posts
        Do you have the same rewrite base in .htaccess? If so, remove the trailing slash.
          Frogabog- MODX Websites in Portland Oregon
          "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
          Having server issues? These guys have MODX Hosting perfected - SkyToaster
          • 8548
          • 104 Posts
          Tried it, but still not working sad

          here's my .htaccess rewrite :
          RewriteEngine On
          RewriteBase /CLIENTS/some_client


          here's an example of my problem, this is what I get when navigating the «container ressource»
          http://mydevsite.com/CLIENTS/some_client/news-container/news-container/news1.html

          and if I click on the «News» folder I get this:
          http://mydevsite.com/CLIENTS/some_client/news-container/news-container/


          I have also manualy modified my alias to make sure that was not the problem
            • 10208 ☆ A M B ☆
            • 1,780 Posts
            Is MODX installed in a sub sub folder on the server?

            i.e. home/serverUsername/public_html/CLIENTS/someClient ??

            Or, is it installed in the root public_html folder of your server? If it's in the root, do not even include a rewrite base in .htaccess. Leave that blank.





              Frogabog- MODX Websites in Portland Oregon
              "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
              Having server issues? These guys have MODX Hosting perfected - SkyToaster
              • 8548
              • 104 Posts
              It's in a sub sub sub folder like this,

              Root/CLIENTS/my_client_ROOT/his_client_folder/site_here
                • 10208 ☆ A M B ☆
                • 1,780 Posts
                Sorry, I'm beat then. Hope this bumps it well and someone else can help.
                  Frogabog- MODX Websites in Portland Oregon
                  "Do yourself a favor and get a copy of "MODX - The Official Guide" by Bob Ray. Read it.
                  Having server issues? These guys have MODX Hosting perfected - SkyToaster
                  • 8548
                  • 104 Posts
                  I'm also beat... I've reinstalled it from scratch in other directory and same probleme, the only way i've been able to fixe it, was to disable the display container in seo and transalias settings.

                  cheers
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    I just tried the same setup, and have no problem with it. There must be something else involved.

                    This is a fresh Revo 2.2.8 installation.

                    Suffix removed from HTML content type.
                    Friendly URLs turned on, no other settings changed.

                    .htaccess - RewriteBase /modx/modx228

                    Created one resource with "Container" checked.
                    Created second resource.
                      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
                      • 8548
                      • 104 Posts
                      Same thing there, I have at least 6 modx revo 2.2.8 installed on that server and that site is the only one doing this... problably something conflicting with other addons