We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7966
    • 90 Posts
    I use "Use Friendly Alias Path" checked as yes for a website.

    I have a blog directory under same website, which also have subdirectories under. I want this directory not use "Use Friendly Alias Path".

    Is there an easy way to cancel this setting under a different directory using htaccess, or any other suggestion?

    Thank you

      • 3749
      • 24,544 Posts
      "Easy" is a relative term. wink

      One way would be to put the blog resources in a different context and create a context setting: use_alias_path (set to "No").

      Maybe there is an easier way, which would be good because a separate context would complicate your site in a number of ways.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 7966
        • 90 Posts
        Quote from: BobRay at Apr 08, 2011, 11:10 PM

        "Easy" is a relative term. wink

        One way would be to put the blog resources in a different context and create a context setting: use_alias_path (set to "No").

        Maybe there is an easier way, which would be good because a separate context would complicate your site in a number of ways.


        Thanks Bob. I thought of that also but it will make other things little more complex.

        I wonder if this is something doable with htaccess.

          • 22303 MODX Staff
          • 10,725 Posts
          FWIW, the new features in the upcoming 2.1.0 release include support for manually specifying the complete URI for any Resource you wish. You simply check the Freeze URI checkbox and a URI field is revealed. When this is checked, the URI is never recalculated for that Resource, even if you move it. You can also manually edit this field when the URI is "frozen" to any valid URI string.
            • 23491 ☆ A M B ☆
            • 1,056 Posts
            Quote from: OpenGeek at Apr 09, 2011, 11:14 AM

            FWIW, the new features in the upcoming 2.1.0 release include support for manually specifying the complete URI for any Resource you wish. You simply check the Freeze URI checkbox and a URI field is revealed. When this is checked, the URI is never recalculated for that Resource, even if you move it. You can also manually edit this field when the URI is "frozen" to any valid URI string.

            Jason, this is awesome! Can’t wait to try it out, I better get to installing a 2.1.0 RC already... smiley
              Mike Reid - www.pixelchutes.com
              MODx Ambassador / Contributor
              [Module] MultiMedia Manager / [Module] SiteSearch / [Snippet] DocPassword / [Plugin] EditArea / We support FoxyCart
              ________________________________
              Where every pixel matters.
              • 22303 MODX Staff
              • 10,725 Posts
              Quote from: pixelchutes at Apr 09, 2011, 01:27 PM

              Jason, this is awesome! Can’t wait to try it out, I better get to installing a 2.1.0 RC already... smiley
              FWIW, RC2 is expected on Monday—lot’s of bug fixes from feedback on RC1.
                • 7966
                • 90 Posts
                Quote from: OpenGeek at Apr 09, 2011, 11:14 AM

                FWIW, the new features in the upcoming 2.1.0 release include support for manually specifying the complete URI for any Resource you wish. You simply check the Freeze URI checkbox and a URI field is revealed. When this is checked, the URI is never recalculated for that Resource, even if you move it. You can also manually edit this field when the URI is "frozen" to any valid URI string.

                Thanks a lot Jason. that could be a solution.