We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6491
    • 70 Posts
    Hi All,

    I can't figure out why the links in the footer are not working. Here's the URL ... http://www.totalprotectgold.com.

    The links are in a chunk {{footer}} and they look just like the links in the {{header}} chunk.

    I have made a copy of the home page, to make some changes to the site ... http://www.totalprotectgold.org/index.php?id=29 ... and the footer links work there! What's going on?

    Thanks.

    Dan
      • 16278
      • 928 Posts
      and the footer links work there
      They're not working for me there - same as on the live pages. Are you looking at a copy on the server, or on a PC? Most likely reason for the failure is case-sensitivity, if you are writing them into the footer. Check the href part of your links against the aliases in the resources with that in mind. Or let MODX make your links for you with the standard [ ~id ~ ] tags.
      ;) KP
        • 6491
        • 70 Posts
        KP52, Thanks but ...

        They were working on http://www.totalprotectgold.org/index.php?id=29 when I posted this.

        I checked and double checked the HREF, and even tried it with the [~id~] tags it still wont work. Do you think it could be a database problem, maybe repair the database might work?

        I don't have access to the cpanel, but I could ask the client to try it.

        Dan
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          What does your footer chunk look like?
            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
            • 6491
            • 70 Posts
            Okay. Here's some more info ...

            When the links are clicked it changes the URL suffix to ".org", ".net", etc.

            The client owns several variations and redirects them to the ".com".

            Does this help?
              • 6491
              • 70 Posts
              Hi Susan, here's the chunk ...

              <p>
              					<a href="Privacy-Policy" title="Privacy Policy">Privacy Policy</a> - 
              					<a href="Terms-of-Use" title="Terms of Use">Terms of Use</a> - 
              					<a href="Disclosure" title="Disclosure">Disclosure</a> - 
              					<a href="Contractors" title="Contractors">Contractors</a> - 
              					<a class='last' href="Form-Pop-up" title="contact us">Contact Us</a>
              				</p>
              				<small class="copyright">© 2012 Cross Country Home Services, Inc. All Rights Reserved</small>
                • 28042 ☆ A M B ☆
                • 24,524 Posts
                Are you sure those resources are published?
                  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
                  • 6491
                  • 70 Posts
                  Yes they are published.
                    • 6491
                    • 70 Posts
                    Any idea why the Header Nav links change to ".org", ".net" etc? They go to the right pages but wrong domain (extension).

                    Here's that chunk ...
                    <ul>
                    <li><a href="Home" title="Home" class="first">Home</a></li>
                    <li><a href="Warranty" title="warranty" class="second">warranty</a></li>
                    <li><a href="Maintenance" title="maintenance" class="third">maintenance</a></li>
                    <li><a href="Features-and-Benefits" title="features & benefits" class="fourth">features & benefits</a></li>
                    <li><a href="Place-a-Claim" title="place a claim" class="fifth">place a claim</a></li>
                    <li><a class='last' href="Form-Pop-up" title="contact us">contact us</a></li>
                    </ul>