We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26994
    • 19 Posts
    I am have a url issue on one page only. My main navigation links on this page keep using the current page as the base url and not the actual base url.

    It uses almost exactly the same template as other page that are working fine with the exception of a different chunk that contains different TV’s. It uses the same navigation chunk as all the other pages too. I can’t figure out why this is happening. I have cleared site cache several times.

    Any ideas would be much appreciated.
      • 3749
      • 24,544 Posts
      Do you have this in the <head> section of your template:

      <base href="[[++site_url]]" />
        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
        • 26994
        • 19 Posts
        I did have the base path settings on the template, but it appears that it must have been an issue with Revolution/Evolution tag changes. Your version fixed the issue. Strange thing was I had the same improper structure on all the templates but was only having that issue with that one page and not the other pages.

        Thanks for your help, it’s been driving me nuts.
          • 3749
          • 24,544 Posts
          Glad you got it sorted. Make sure your navigation links are all in the new tag format:

          <a href="[[~12]]">Link Test</a>
            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