We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5789
    • 21 Posts
    Is there a way to set up a site where I can use logical urls for my pages? I know modx does this already for regular content but I’d like to know if it’s possible to take one of my content pages and have it pass arguments straight through the URL.

    say:

    http://www.mydomain.com/album/1/view/full

    instead of

    http://www.mydomain.com/album?id=1&view=full

    Provided you can do the logical url, how would you reference a the arguments in a snippet? Would a simple $_GET[’view’] work?

    I’ve looked at the rewrite url rules in htaccess, but I’m a total noob when it comes to apache configurations.

      --
      Modx 2.0.2
      Win 7 Firefox 3.6.10
      Mac Snow Leopard Firefox 3.5.12
      • 17499 ☆ A M B ☆
      • 872 Posts
        • 5789
        • 21 Posts
        Thanks for the link. Took me a little while to make it work, but that’s exactly what I was looking for.
          --
          Modx 2.0.2
          Win 7 Firefox 3.6.10
          Mac Snow Leopard Firefox 3.5.12