We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14779
    • 256 Posts
    sometimes when an external site links to ours, they use a link ending in .htm

    In our FURLs, I have the suffix set as .html

    Can I set up a redirect or something so that a link ending in .htm will be just as valid as a link ending in .html?
      PM me to find out how you can get a FREE ipad 2!
      • 33982 ☆ A M B ☆
      • 476 Posts
      This plugin will handle that:

      http://modxcms.com/SEO-Strict-URLs-1335.html

      The following should redirect if you want www.sitename.com/page.html:

      www.sitename.com/page
      www.sitename.com/page.htm
      www.sitename.com/index.php?id=56 (if this the ID for this document)
      etc.
        Precision Web Development ... SmashStack.com
        • 36592
        • 970 Posts
        Hmm... in my undestanding, SEO Strict URLs plugin does not redirect ’page.htm’ to ’page.html’... huh
          • 25663 MODX Staff
          • 12,272 Posts
          I think you’re right and it would result in a 404.
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 33982 ☆ A M B ☆
            • 476 Posts
            Huh, I could have swore it would have worked for that case...guess not. embarrassed
              Precision Web Development ... SmashStack.com
              • 14779
              • 256 Posts
              tkfm is right, I just looked at the snippet.

              I really would like to have this capability, if any one else has other ideas, I would be eternally grateful. smiley
                PM me to find out how you can get a FREE ipad 2!