We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21449
    • 6 Posts
    Hi all..
    My site is http://cssleads.com
    It has a menu at the top, and it works only with firefox. On other browsers, when press any menu item nothing changes. Everytime one content (content related to homepage). It’s about all links to resources. Not only top menu, but footer menu and link inside content. What can it be?

    modx 2.0.2-pl traditional, MySQL client version: 5.1.39, php 5.3.2
      • 3749
      • 24,544 Posts
      Be sure you renamed ht.access to .htaccess in the site root.

      If it still doesn’t work, check the "rewrite base" line in the .htaccess file. If your site is in a subdirectory, you may need to put the path to the subdirectory in that line.

      FYI, the reason nothing changes is that you have your home page set as the error (page not found) page in System Settings. Whenever a page isn’t found, you’ll end up there.
        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
        • 21449
        • 6 Posts
        Yes, my site is really in a subdirectory, subdirectory name is cssleads.com. I’ve turned off Friendly Url’s and deleted .htaccess, now site works fine in Opera and Safari, but not in firefox, ie and chrome.
        With .htaccess, when rewrite base is /cssleads.com/ it doesn’t works too.., what’s the problem?
          • 1778
          • 659 Posts
          Hi

          In your .htaccess your rewrite base should NOT end with a slash (/)

          When you create a link, you can see in the status bar of your browser (at least with FF or Chrome) the address it tries to reach...

          You should check at it and adjust your htaccess file...
          Cheers
            • 3749
            • 24,544 Posts
            The rewrite base should be the name of the subdirectory, not the name of the domain. The initial "/" stands for the domain.

              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
              • 21449
              • 6 Posts
              huh I’ve removed (#RewriteBase). And it works correctly in Safari and Firefox, but not in opera and ie. Whats wrong?
                • 21449
                • 6 Posts
                SOLVED smiley) Thanks, my documents were not published tongue
                  • 3749
                  • 24,544 Posts
                  Quote from: nick_ny at Sep 25, 2010, 03:27 PM

                  SOLVED smiley) Thanks, my documents were not published tongue

                  That will do it. wink

                  Glad you got it sorted.
                    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