We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23275
    • 4 Posts
    Hello.

    I am trying to add links to a page in my sub menu.

    The problem I’m having is when I add the link it adds the parent page name into the link whether I like it or not.

    For example I want it to be www.site.com/downloads/my.pdf but its adding www.mysite.com/PARENT-PAGE/downloads/my.pdf

    Any ideas on how to stop this. I’m trying to add 35 pdf links.

    Thanks
      • 36404
      • 307 Posts
      hi,

      i don’t know how you add you links to get this but, say, with a simple

      <base href="[(site_url)]" />


      in your pages head and then your links looking like

      <a href="/downloads/mypdf.pdf">toto</a>


      it should work

      have swing
        réfléchir avant d'agir
        • 3749
        • 24,544 Posts
        I’m guessing that in Tools | Configuration you have "Use Friendly Alias path" turned on. Try turning it off.
          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