Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mike Manusama 45 posts 195 karma points
    Jan 26, 2017 @ 13:28
    Mike Manusama
    0

    Subdomain Header/Footer links

    I am having an issue that I believe is pretty straight forward and something people must experience often, but I can't find the answer here on this forum. I have a www.mysite.com domain, as well as a few subdomain.mysite.com's as well. The subdomains all share the same look and feel as the home page so it would be most efficient to keep the navigation header and footer all on 1 template. In doing that, the subdomain navigation links and footer links are all throwing 404's as the template files have relative links.

    Is there a way in Umbraco to link to the node ID rather than the URL?

    I have tried the following:

    <li><a href="{localLink:1288}">Resource center</a></li>
    

    But even this still throws an error by trying to go to a URL, https://subdomain.mysite.com/%7BlocalLink:1288%7D

    I have seen some references to something like a prettyURL or something like that? Is that suggested?

    Thanks in advance

Please Sign in or register to post replies

Write your reply to:

Draft