We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3456
    • 5 Posts
    Hi, I recently moved my site from wordpress to modx and I am facing a stange problem with my site www.bizards.in.
    most of the links from inner pages doesnt open up ,eventhough it shows the right url in the address bar but it loads the homepage.
    you can see for example links like company->our management team , services -> the links under services overview ..it loads up only the home page.If i clear the cache (from site manu ) using modx manager this problem gets resolved for that particular computer alone.I tried to set all the cache settings to "no" but even still this problem is there. This is really bother me a lot and we are losing the clients coz of my site issue.
    any advice or help to solve this will be very much apprciated.thanks ..

    our site is hosted in apache server version 2.2.1
    and we are using MODx Revolution 2.0.2-pl
      • 36404
      • 307 Posts
      hi,

      actually, it’s not a link problem because it shows the correct url in the url field but a 404/page not found issue.
      you may check different little things...
      - first, do your pages aliases and links really match (of course if you use wayfinder or the pageid for the links they do)
      - second, and important one, is your cache folder writable on the server ?
      - third one, are the pages set on published ?

      i know all this may sound a little elementary but i assure you we all forget some of these little things sometimes smiley

      something else (that has nothing to do with links, having had an eye to the source code to see where those links were, wow, what a bunch of divs around them, you could have done all this with only one and css using css3pie for ie... smiley

      have swing
        réfléchir avant d'agir
        • 3456
        • 5 Posts
        Thanks for the inputs ..

        But the thing is , on computers which i log in to the modx manager and clears the cache the urls tend to work on those ..
        it seems to work on the systems where we manually go and clear the cache ..
        This is very strange and as u said it can be some minor issue which is causing this major problem ..

        and my cache folder is writable in server and the pages are published aswell ..

        Any help on fixing this will really help us a lot ..
          • 22303 MODX Staff
          • 10,725 Posts
          Did you enable friendly_urls but forget to rename the ht.access to .htaccess by chance? Is the site offline? Are the Resources published?

          FWIW, I would recommend upgrading to 2.0.8-pl at least.
            • 3456
            • 5 Posts
            Thanks a lot for all ur inputs ..it helped us a lot .

            The problem was not adding the "Base href"
            when we added <base href="[[++site_url]]" /> in elements -> templates > developers > our template
            the issue was fixed and the site now works fine smiley
            thanks eveyone .