We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51862
    • 13 Posts
    Hey guys!

    So, I have stumbled upon a new issue. I have an Articles blog set up: there's been difficulties with it before, for it disappeared for no reason. A member on the forum helped me retrieve it from the database, but there have been new difficulties since then. The page doesn't redirect to its children properly.


    Nothing shocking, right?


    But when I want to go to another page, there's an extra "blog" in there. I also can't link to images in my root folder. Does anyone know why this is happening?

    Kind regards and thanks in advance

    This question has been answered by treigh. See the first response.

      • 30585
      • 833 Posts
      Can you: Manage > Clear Cache > Refresh URIs?

      Can you post the source code of your Article template?
        A MODx Fanatic
      • discuss.answer
        • 30585
        • 833 Posts
        Do you have a base tag in the <head> section of your template blog articles template?
        <base href="[[++site_url]]">


        I advise using absolute URLs in your article row template. Wherever you have this or similar:
        <a href="[[~[[+id]]]]">[[+pagetitle</a>
        

        change to this:
        <a href="[[~[[+id]]? &scheme=`full`]]">[[+pagetitle</a>
          A MODx Fanatic
          • 51862
          • 13 Posts
          Sorry for the late reply, but specifying the base url worked. Thank you!
            • 30585
            • 833 Posts
            Glad it worked for you.
              A MODx Fanatic