Copied to clipboard

Flag this post as spam?

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


  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Jun 07, 2012 @ 10:44
    Ali Sheikh Taheri
    0

    Pages with no template will appear with master template? is it a bug?

    Hi There,

    I am using umbraco 4.7.2.

    when no template is selected for a page then the master template will be used for that page and the page layout is the same as master page!!!

    I believe the default behaviour must be, when no template is selected the there shouldn't be any page and has to go to 404?!

    Am I missing anything ? or is this a known bug? any workaround?

    Thanks 

    Ali

  • michael Netonline 18 posts 62 karma points
    Jun 07, 2012 @ 13:14
    michael Netonline
    0

    It's not a bug. 

    - You can create a 404 template and select in the node this template. 

    - OR umbracosettings.config error 404 set the nodeId see http://our.umbraco.org/wiki/reference/files-and-folders/files-in-the-config-folder/umbracosettingsconfig

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Jun 07, 2012 @ 13:19
    Ali Sheikh Taheri
    0

    Hi Michael,

    I know how to create a 404 page , I've also have a post on my website how to create custom 404 page in umbraco.

    the problem is when you go the a page which no template is assigned to it , the page will come with the master template. 

    that is not what it suppose to be. 

    hope that makes sense!

    Ali

  • michael Netonline 18 posts 62 karma points
    Jun 07, 2012 @ 13:41
    michael Netonline
    0

    I think:

    When you make a homepage.master in the masterpages folder or in umbraco.

    and when you make a homepage.aspx in umbraco.

    This gives me also conflicts. It loads the master page even i have not selected the masterpage in umbraco! Looks like the url rewriter render homepage.aspx and homepage.master. 

     

    if this is the problem please add in the web.config in the:

        <add key="umbracoReservedPaths" value="~/umbraco,~/install/, ~/masterpages/" />


    can you check this?

  • Ali Sheikh Taheri 470 posts 1648 karma points c-trib
    Jun 07, 2012 @ 15:00
    Ali Sheikh Taheri
    0

    Thanks Micheal,

    I've tried that but still the same!

     

  • michael Netonline 18 posts 62 karma points
    Jun 07, 2012 @ 15:59
    michael Netonline
    0

    Strange... I haveTried to reproduce but it works normally. iis setting? or dll issue? Or chaching?

Please Sign in or register to post replies

Write your reply to:

Draft