Hi,
I’m trying to create an HTML sitemap. I can generate a basic sitemap using the following code:
<ul>
{exp:channel:entries channel="pages" limit="50" dynamic="off"}
<li><a href="http://{homepage}{url_title}">{title}</a></li>
{/exp:channel:entries}
</ul>The problem is that the links generated are not correct. They only add the last segment, missing out parts of the full path.
Is there a tag I should be using that will do this?
Alternatively, is there an add-on that would perform this task?
I have NSM Better Meta, NavEE & Taxonomy, but I can’t see a way to get any of these to do the job. (No problems with an XML sitemap, but that’s not what I’m after).
Thanks,
Nick.