We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3763
    • 155 Posts
    Hello guys!

    I have on my page friendly URLs enabled, standard settings, using alias.html
    Can I somehow change only one page to use another suffix than .html but leave all the rest as they are now?

    I want my RSS feeds to use feeds.xml

    I think I could do it with .htaccess but I want to know if it’s possible with MODx.

    Thank you!
    Regards, Boby.
      ...my Photo Gallery on Flickr...
      • 19726
      • 239 Posts
      Give the document that is your feed the alias "feed.xml". You will now be able to access the document with "yourdomain/feed.xml". Note that "yourdomain/feed.xml.html" will also work.
        • 3763
        • 155 Posts
        Thank you Mitch! Yep, it is working wink

        I have another problem, I want to show the link in on the page "feed.xml" but keep it also as far as possible dynamic, so if I change something it will change too.

        How can I make the link to point to "feed.xml" and not "feed.xml.html" by using the ID?
        Right now I am using [~11~] can I do something here to have the suffix removed from the link automatically or do I need to change the link manually to point to my feed file without suffix?

        Thanks for any help!
        Boby
          ...my Photo Gallery on Flickr...
          • 25663 MODX Staff
          • 12,272 Posts
          Sorry Boby, but right now the parser won’t work that way (custom extensions when referenced by ID). It’s an area that will be resolved with 1.0 for sure. Extensions should be tied to the document types, and currently they’re not unfortunately.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 3763
            • 155 Posts
            Sorry Boby, but right now the parser won’t work that way (custom extensions when referenced by ID). It’s an area that will be resolved with 1.0 for sure. Extensions should be tied to the document types, and currently they’re not unfortunately.
            Ahh, no problem smiley
            I’m still learning MODx and I don’t know all features of it.

            But I’m gonna release soon my first snippet rolleyes hope I won’t blame myself.

            Thanks guys!
            Boby
              ...my Photo Gallery on Flickr...
              • 22815
              • 1,097 Posts
              Go for the non-dynamic hardwired reference feed.xml - not least because it will remind you that other people may have added that feed to their reader and so it is unlikely that you will really want it to change.
                No, I don't know what OpenGeek's saying half the time either.
                MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                Forum: Where to post threads about add-ons | Forum Rules
                Like MODx? donate (and/or share your resources)
                Like me? See my Amazon wishlist
                MODx "Most Promising CMS" - so appropriate!