We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25560
    • 16 Posts
    Hi

    I’m probably overlooking something, but how can I tell WF to output links like:

    http://mysite.com/link.html

    rather than

    http://www.mysite.com/link.html

    my BASE HREF is set using [[++site_url]] and is outputting without "www.", so I figured it’s a WF setting not a ModX. Am using Revolution

    thanks!
      • 12352
      • 101 Posts
      Hi, try to combine wf.link with your site_url instead of using the standard Wayfinder calls

      Put it in a rowTpl(chunk) and call this template from your wayfinder call

      http://wiki.modxcms.com/index.php/Wayfinder#.26rowTpl
        Don't believe anything you read on the net. Except this.
        • 25560
        • 16 Posts
        spot on. thanks

        if anyones interested, for revo the rowTpl chunk is


        <li [[+wf.id]][[+wf.classes]]><a href="[[++site_url]][[+wf.link]]" title="[[+wf.title]]" [[+wf.attributes]]>[[+wf.linktext]]</a>[[+wf.wrapper]]</li>
        


        as the wiki hasnt been updated yet.