We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31140
    • 8 Posts
    Hi,
    I don’t know if anyone had already answered my question, but I search on the forum and got no luck.

    Well, my question is how do I expose an external link in modx without 301, I know there is a weblink resource button on top of navigation tree, but that would generate an internal resource ID and the URL exposed would be 301 redirected to the final link. The thing is I just don’t want to have that 301.

    To be more specific, I am setting up modx with one of my subdomains and my main domain actually sits outside of modx, that’s why I want to have an external link without 301from modx.

    I could have hard coded www URL from the breadcrumb snippet, but I am thinking maybe there is a better way to do that.

    Anybody got any idea on this?

    Thanks
      • 31140
      • 8 Posts
      could anyone help on this?
        • 7455
        • 2,204 Posts
        your asumption that by creating a resource "weblink"wil result in a 301 is false
        This whas the case in older modx versions but in 102 the link wil result in a normal external link
        when you type in the resource http://www.yorsiteurl.whatever then that wil be in your nav en also when you use the [~id~] tag.

        try it you will see

        Dimmy
          follow me on twitter: @dimmy01
          • 31140
          • 8 Posts
          Thanks Dimmy, I would take a try on that.

          Thank you