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 .
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)
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 .
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
is working on a reply...