We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9207 ☆ A M B ☆
    • 2,475 Posts
    This is probably due to something in my setup, but I’ve come up against a bit of a problem with a site that has a lot of sub-directories.

    Imagine the following structure for my domain:

    /Home
    --fruits
    ----apple
    ----banana
    ----oranges
    -------blood
    -------navel
    -------squishy


    When I use ListIndexer to show the latest posts in my ’oranges’ directory, the links come out as:
    www.domain.com/fruits/fruits/oranges/blood.php

    "Fruits" gets mentioned twice. Even if I use the [~n~] style reference to list the contents of the "oranges" folder, the URL still gets rendered incorrectly.

    Is this some problem with Friendly URLs? What am I doing wrong?

    Thanks for any pointers.
      • 36592
      • 970 Posts
      Do you have this base tag in your template ?
      <base href="..."></base>
        • 9207 ☆ A M B ☆
        • 2,475 Posts
        Brilliant. That fixed it! I’m just wondering if there is a placeholder to use that hold’s a given site’s domain name.