We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23562
    • 57 Posts
    Hi all

    So I’m using MODx 0.9.6.1p2 with Furls enabled and everything is working great, but it appends .html to my rss so its feed.rss.html instead of just feed.rss, works though rolleyes but , how can I override furls to be just feed.rss???

    Thanks!
      • 7455
      • 2,204 Posts
      you can call it like feed.rss that wil work just fine. the .html is not required when fetching a page /feed.rss and /feed.rss.html wil work both.

      Dimmy
        follow me on twitter: @dimmy01
        • 23562
        • 57 Posts
        Thanks Dimmy, yes I know that it works fine, but how do I set up to be just feed.rss not feed.rss.html??? When furls are enabled it appends .html to feed.rss, how to avoid that???
          • 16085
          • 203 Posts
          Use the SEO Strict plugin - http://modxcms.com/SEO-Strict-URLs-1335.html or http://www.stanback.net/code/modx/seo-strict-urls.html

          While you at it Virtual Aliases is also worth installing for when you need to create page re-directs. - http://www.stanback.net/code/modx/virtual-aliases.html
            • 23562
            • 57 Posts
            Thanks knightknight, but is there a way to set that up with modx somehow? if there isn’t a way, then I suppose I’ll set up that seo plugin and try smiley Thanks!
              • 15083
              • 697 Posts
              plavet I think Dimmy anwsered this.

              Although MODx appends .html (or whatever) you can reference it as myfeed.xml, so when adding the feed to the head of your doc just call it myfeed.xml? readers/search engines etc will never see the .html.

              No one will know any better smiley
                • 16085
                • 203 Posts
                @plavet, SEO Strict is a MODx plugin. Very easy to setup and the only working method I know to override the defaulted preffix. For example once you’ve installed SEO Strict, you then set your news.rss.html page’s Template Variable to Base Name and it will take the .prefix off.

                The extra prefix will still render the page regardless but if you want to be strict for SEO sake then this plugin is great.

                  • 22303 MODX Staff
                  • 10,725 Posts
                  The other option is to not use the friendly URL suffix at all (i.e. leave it blank); then you can include the content-type specific extensions as part of the alias, i.e. rss.xml could be your alias for the feed and home.html could be a full alias for an html page.
                    • 23562
                    • 57 Posts
                    Thanks OpenGeek, I know that it was easy, but I didn’t know it was THAT easy laugh that solved it smiley MODx is really very flexible smiley I can’t imagine what will 0.9.7 be shocked
                    @knightknight, I didn’t had time to use the SEO Strict plugin, but I guess it works great, thank you for that, MODx is really great, you can do one thing in many ways, but sometimes its a bit confusing, but only a bit wink

                    Thank you all again kiss

                    Igor
                      • 16085
                      • 203 Posts
                      @plavet, you’ll find that with MODx, always more then 1 way to skin a cat.

                      Ah yes, forgot about that. That’s an even easier method. The only problem is you have to remember to add the prefix. Which is something I missed of a couple of time and sent Google Webmaster tools into an error frenzy!

                      I’ve used the SEO Strict plugin as means of being quick and convenient keeping .html in my auto prefix.