We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29951
    • 6 Posts
    For those who want to help.

    I would like to be able to make a modx page and send $_GET vars within the url on a mod_rewrite style.

    So for example:

    www.example.com/nl/test/ is the "base" page set as a directory in ModX. This is a modx page with friendly urls on and it will resolve www.example.com/nl/test.html, www.example.com/nl/test and www.example.com/nl/test/.

    On this page I will create a link to:

    www.example.com/nl/test/1223/blablabla.html

    This page will need to resolve www.example.com/nl/test.html?id=1233&type=blablabla.html

    I don’t mind to fix the base page so it can’t be changed/deleted


    I tried to add a line in the .htaccess file before the general RewriteRule but this didn’t help me much. Can someone please help me solve this puzzle.

    Thanks,

    Tieske
      • 29951
      • 6 Posts
      Thanks you all smiley I solved my problem after all.
        • 33337
        • 3,975 Posts
        Quote from: tieske at Apr 22, 2009, 02:41 PM

        Thanks you all smiley I solved my problem after all.
        It would be very helpful if you share the solution.

        Thanks smiley
          Zaigham R - MODX Professional | Skype | Email | Twitter

          Digging the interwebs for #MODX gems and bringing it to you. modx.link
          • 9207 ☆ A M B ☆
          • 2,475 Posts
          I figured out something like this using url segments to identify database keys (keys in an external database):

          http://modxcms.com/forums/index.php/topic,31477.msg193727.html

          but I got the impression that my "solution" would cause more problems (and possibly give Jason a headache).