We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54456
    • 2 Posts
    http://allfiredupdc.com/

    A new client of ours has a site that they don't want to change at all but their links have completely stopped working. I have never used MODX and they just wrote me about this issue. I have tried logging in to MODX and it seems the dashboard it missing. Could this be related to MODX update?

    If need be our developer will just recreate their site but we can't even scrape their site because the pages don't work.

    How do we fix this?

    http://allfiredupdc.com/
      • 36467
      • 73 Posts
      It seems to be modx friendly URLs or htaccess issue. I am not sure though but initially, it looks like that because it redirects back to home page.
        • 46886
        • 1,154 Posts
        Let's try to figure it out, and get more data here.

        Links are dead but if we have bigger problems those would go first. Do you have the resource tree in the dashboard? You should have 3 sections on the left side, with the resource tree, the middle part has templates, chunks and snippets and so on, and then the file system where you can find css files and so on.

        I think given the recent problem you will need to upgrade before anything else. This recent situation has been unusual and serious, so upgrade asap please.

        Now links are provided in the header, when Modx is configured correctly, like this:

        <base href="[[!++site_url]]" />


        But check your error log to see what's going on, your probably throwing an error and redirecting to front page.

        Also the advice about friendly urls or htaccess could be right...did their hoster change anything recently? We need the error log
        • For reference, this topic was double posted at https://forums.modx.com/thread/104179/help-in-a-really-tough-spot-links-broken-on-site#dis-post-560280 where I also replied before sawing the double topic.
            Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

            Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
            • 17301
            • 932 Posts
            If it helps archive.org's last snapshop of the site in December 2017 shows it working. Something much have been changed between then and now - try crawling the error logs to find out when the issue started and for guidance on what the issue is.

            https://web.archive.org/web/20171230205525/http://www.allfiredupdc.com/gallery.html
              ■ email: [email protected] | ■ website: https://alienbuild.uk

              The greatest compliment you can give back to us, is to spend a few seconds leaving a rating at our trustpilot: https://uk.trustpilot.com/review/alienbuild.uk about the service we provided. We always drop mention of services offered by businesses we've worked with in the past to those of interest.
              • 38850
              • 110 Posts
              It's acting like the links are 404 and the error page is set to the home page. It doesn't seem to be related to the html/htm extension, it behaves the same.

              So it must have something to do with paths or FURLs, alias/slugs, etc.

              If the site used to have a parent for pages, for example "site.com/pages/some-page" but now it should just be "site.com/some-page" then maybe the relative parent link is still in there somewhere.

              So double-check htaccess or nginx redirect rules. Check base href, check FULR settings, and mime type extension settings. Also check frozen alias settings and if your pages have parent pages, that could be involved too.
                • 3749
                • 24,544 Posts
                In the .htaccess file in the MODX root, there's a section that rewrites MODX friendly URLS. It's clearly working because it does rewrite numeric URLs like this:

                http://allfiredupdc.com/?id=2


                Make sure the friendly_urls System Setting is set to "Yes."

                As Nuan88 suggests, make sure you have this tag (with the exclamation point) in the head section of all MODX templates.

                <base href="[[!++site_url]]" />


                Do this last: On the Manage menu, hover over "Clear Cache" and click on "Refresh URLs" (you may not see this if you have an old version of MODX).

                If none of that works, try repairing all DB tables in PhpMyAdmin and manually deleting all files in the core/cache directory.
                  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