We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10940
    • 71 Posts
    Hi I have fURLs enabled on a site that has sub-directories in the URL, i.e.

    somecategory/somewebpagename.html

    When I add an image through tiny mce into a page that is sitting within a container and therefore with a subdirectory URL,
    the link is broken.

    Another consideration is I will need to move the site too so I would like to steer clear of absolute paths if possible.

    Is there something I have overlooked?

    Thanks,
    Global
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Do you have a base meta tag in your template head?

      <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
        • 10940
        • 71 Posts
        Awesome, I do now!
        I had been manually adding the [(site_url)] inside my external links in my head.
        Your suggestion takes care of it and is much cleaner!