We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 53353
    • 1 Posts
    Newbie here. I ran a broken link checker on my site and found 12, but I'm at a loss as how to fix them. I searched previous posts but didn't find an answer. I'm not sure how to go about finding the site structure so I can fix it. Any help appreciated. Thanks!
      • 3749
      • 24,544 Posts
      Most internal links in a MODX page are in this form:

      <a href="[[~12]" ...

      (where 12 is the Resource ID of the resource being linked to -- you can see the resource ID in parentheses after the pagetitle in the Resources Tree at the left of the Manager.

      Links to off-site pages are usually full links:

      <a href="http://somesite.com" ... 


      Almost all the links will be in one of three places:

      1. in the Resource Content field of a resource
      2. in a Template
      3. in chunks.

      A few may be in Template variables (values are on the Template Variable tab when editing a resource).

      It's possible that a link is created in the code of a plugin or snippet, but it's fairly rare.

      Welcome to MODX. smiley

        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