We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24735
    • 33 Posts
    Note: Adding the Base URL will cause a problem for anchor links. Selecting the anchor in your editor will not work.
    I fixed the problem by simply adding the location of anchors.

    Example:

    If your on page http://www.mysite.com/products/index.html and you select an anchor say #product5 from your editor and save you will get this.

    http://www.mysite.com/#product5

    so instead of selecting the anchor from the drop down menu of my editor I simply wrote

    /products/index.html#product5

    I am sure there is a much better way to do this, but from a noob to a noob this is the simplest solution I could come up with. wink
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The base href meta tag should not be self-closing, in order to keep some versions of IE from acting strangely (well, more strangely than usual, anyway):
      <base href="[(site_url)]"></base>
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org