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.
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.
-
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
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.