We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11005
    • 3 Posts
    Hi there.

    I’ve just started using MODx and I’ve posted a test blog post but when I try to access any pages, besides the home page, it routes me to the home page. I’ve tried cleaning the cache but being a newb to this stuff (not CMS, but MODx) I haven’t a clue what the problem is. my websites is http://www.gobbob.com
    I’ve enabled friendly URLs using the tutorial.

    -Gobbob
    • Are your other pages published?

      What are your friendly URL settings? Did you rename the ht.access file to ".htaccess"?

      Does it work without Friendly URLs being on?
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 11005
        • 3 Posts
        What are your friendly URL settings?
        Prefix for friendly URLs: index.php?page=
        Suffix for friendly URLs: .html
        Use friendly aliases: Yes
        Use friendly alias path: No
        Allow duplicate aliases: No
        Automatically generate alias: No

        Did you rename the ht.access file to ".htaccess"?
        Yes

        Does it work without Friendly URLs being on?
        Yes

        -Gobbob
        • "index.php?page=" as your prefix? Friendly URLs replace the "index.php?id=xxx" with whatever you put for the alias. For example, all of my pages have no alias prefix, and html as the suffix. So I get "mysite.com/home.html", "mysite.com/contact.html", etc.

          I suspect that you thought you were changing the ?id= or the ?q= part.
            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
          • Try nuking the prefix bit and see if you’re more happy with the outcome indeed. I suspect the "index.php?page=" is confusing the heck out of it!
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 11005
              • 3 Posts
              Prefix for friendly URLs: page
              Suffix for friendly URLs: (None)
              Use friendly aliases: Yes
              Use friendly alias path: Yes
              Allow duplicate aliases: Yes
              Automatically generate alias: No

              Still not working...

              -Gobbob
                • 16034
                • 107 Posts
                Hi,

                I just tried something:
                The menu links to http://www.gobbob.com/templates/pagemodxcss_wide which doesn’t work at the moment.
                If you add index.php?q= like this: http://www.gobbob.com/index.php?q=templates/pagemodxcss_wide you get the desired page.

                The addition of index.php?q= should be done by .htaccess. I’m not sure where it goes wrong, but if you post your .htaccess file maybe somebody can help.
                  MODx snippet-glossary 101:
                  Ditto = Content Lister -- Wayfinder == Menu Builder -- Jot = Comment Control