Copied to clipboard

Flag this post as spam?

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


  • phenryll 28 posts 53 karma points
    Oct 16, 2010 @ 17:53
    phenryll
    0

    Using a Doc Type with no Template

    For some reason I created a Doc Type "Track", but there is no point to associate a template to it.

    I fill some data to Track in the Content section. To render the content, I call a macro from the parent Track's Doc Type.

    Even though there is no template associated to the Track Doc Type, a url is generated. For that reason search engines might index that page while crawling; as a result, the url might be available whereas the link has no direct content.

    Is there any way to avoid that "issue"?

    Thanks in advance.

     

    R.

  • Jonas Eriksson 930 posts 1825 karma points
    Oct 16, 2010 @ 20:28
    Jonas Eriksson
    1

    Hi, you should avoid to reference it within sitemaps / navigation. That way search engines wont find it, afaik. Most common way to do it is to add a property called umbracoNaviHide (true/false) and set it to true.

    Since you are on a doctype-level, also using standard values (package) might be a good idea and always set umbracoNaviHide to documents using your Track-doctype.

    Regards
    Jonas

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies