We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 41556
    • 12 Posts
    links have an address ?id=6
    I need to address ?D=6
    with friendly url i get this addres, but it d'not work
    need to do instead of getting id-D
      • 10208 ☆ A M B ☆
      • 1,780 Posts
      It's hard to understand what you're expecting as a friendly url, but with the default FURL's you won't get any ID in the url. It should use the alias for the resource and add .html

      i.e. http://yoursite.com/contact.html

      Your example of id-D isn't very clear, sorry. If you want id's in the url, don't enable FURL's.

      You'll need to enable .htaccess, the file is in your installation root named ht.access. Copy that to another file, name it .htaccess. If your site errors, rename .htaccess and it'll work again. That means something is wrong with the .htaccess file. One incorrect character in .htaccess can make the site throw errors in both the manager and front end.

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

        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
        • 41556
        • 12 Posts
        at the site were such an address- site.com/?D=6
        I moved it on ModX and I need to keep the old url.
        in Prefix for friendly URL - ?D=
        in alias pointing old id.
        so I get old url new document (site.com/?D=6)
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          You can do this with a plugin "onPageNotFound" to map the D=6 to resource #6. This means you would have to be very careful to make sure your resource IDs matched your old site pages.
            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
            • 41556
            • 12 Posts
            how this plugin can help me?
              • 10208 ☆ A M B ☆
              • 1,780 Posts
                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
                • 41556
                • 12 Posts
                I have version ModX Evolution. I understand Redirector allows to redirect pages, I could also make a htaccess.But that does not make the required form URL