We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11224
    • 0 Posts
    My site: http://ckhk.org/duncan/index.php
    Revo

    Hello, my links are in the style of /[[~id]] (/duncan/[[~id]] in my case and hovering over the link confirms the link should be accurate.)

    However, the new page does not load. The "id=123" changes to the proper page in the address bar but nothing else changes. I have verified that the others pages work via preview (and also that the links are to the same place as in preview)

    What am I doing wrong?

    Thanks so much for any help.

      • 33968
      • 863 Posts
      I noticed your splash page is ’index.php’. Have you modified or renamed the index.php file installed by modx?
        • 11224
        • 0 Posts
        I haven’t. Should I?

        Thanks!
          • 11224
          • 0 Posts
          P.S. I am also trying to enable Friendly URLs to solve this is those links start appearing. No luck thus far
            • 22840
            • 1,572 Posts
            Looks like your using friendly url’s, have you renamed the ht.access file to .htaccess ?, also are the pages published ?
              • 33968
              • 863 Posts
              It looks like your home page (splash page) is set as your ’not found page’, which is why you are ending up there despite clicking different links.

              Try what paulp suggested - you will need to sort out your .htaccess file.
              Also, clear your site cache. That always helps!
                • 11224
                • 0 Posts
                .htaccess was renamed prior to the system setting. I did not have publish checked on some pages but I just remedied that newbie error.

                Thanks,
                Grant
                  • 11224
                  • 0 Posts
                  Cache cleared
                  I disabled FURLs and ... it works (id=123). My small mind is spinning in circles

                    • 33968
                    • 863 Posts
                    Ok so your site isn’t broken smiley

                    You just need to configure friendly urls correctly. Seeing your site is in a sub-folder that may be the issue. You could try changing the second active line in your .htaccess file as follows:
                    RewriteEngine On
                    RewriteBase /duncan
                    
                      • 3109 ☆ A M B ☆
                      • 894 Posts
                      Also make sure you have

                      
                      <base href="[[++site_url]]" />
                      
                      


                      In your template head, here’s a link that might help.

                      http://rtfm.modx.com/display/revolution20/Using+Friendly+URLs

                      Good Luck.
                        Benjamin Marte
                        Interactive Media Developer
                        Follow Me on Twitter | Visit my site | Learn MODX