Copied to clipboard

Flag this post as spam?

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


  • Abdul Raheem 17 posts 61 karma points
    Nov 03, 2014 @ 19:04
    Abdul Raheem
    1

    Umbraco routing issues (it calls all views name with url)

    Hi,

    I am working on Umbraco v7.

    I have different views name  as (contactus, member, people)

    I just notices that Umbraco display these pages e.g. (http://localhost:11858/contactus/)

    But I have used these views to create nodes with names (for example contact-us). Umbraco should show only this page i.e.  (http://localhost:11858/contact-us/). Can any body tell me how i can stop Umbraco from displaying the pages with the views name .

  • Alessandro Calzavara 32 posts 144 karma points c-trib
    Nov 04, 2014 @ 10:34
    Alessandro Calzavara
    0

    It's a feature, it does the same thing of appending the ?altTemplate=yourOtherTemplate on the pageUrl

    If you're preoccupied of mistakes just add "tpl" in front of your template name so that you will never reach that url by mistake ( you should have gone to http://localhost:11858/tplContactus/, easy to catch) 

    to better explain: with  
    http://localhost:11858/Contactus/ you were rendering the root node with the template Contactus

     

     

     

     

     

     

     

     

     

     

     

  • 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