We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22897 ☆ A M B ☆
    • 209 Posts
    Hi,

    I’ve had to remove the <base> tag from one of my sites (which uses friendly URLs) in order to get in-page anchors to work. The problem with doing this is that it’s broken all internal links on my site - links are no longer relative to the web root.

    Is there a way to change [~3~] to generate an URL like /foo/bar/baz rather than foo/bar/baz?

    Or alternatively a way to get anchors working in the page so I can leave the <base> tag in place...

    Thanks!
      MAPLEDESIGN MODX development and MODX web design and custom development. Proud to serve UK and International clients!
      • 22303 MODX Staff
      • 10,725 Posts
      Search for AnchorsAway plugin in the forums, or always use [~[*id*]~]#anchor format for your anchor hrefs.