ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

template.html

January 28, 2011 10:25pm

Subscribe [3]
  • #1 / Jan 28, 2011 10:25pm

    Paul Easter

    10 posts

    When i look on a page:
    website.com/myindex/templategroup/template
    then everything displays correctly.

    However, if i type:
    website.com/myindex/templategroup/template.htm
    website.com/myindex/templategroup/template.html

    then i can see parts of source code of the template.

    Is it a standard situation??

  • #2 / Jan 29, 2011 12:32am

    Roi Agneta

    352 posts

    Interesting.  I tried it on a couple of my sites (adding .html to the url) and ended up on the index page, which is normal behavior when a path is invalid.

  • #3 / Jan 29, 2011 1:03am

    Paul Easter

    10 posts

    Actually now i realise that i had some code in that index template + with wrong custom fields names. And so it was rendered as a text.

    It was really index displayed. But in addressbar i still saw the link like:
    website.com/myindex/templategroup/template.html

    and it cofused me.

    Sorry for an alarm!

  • #4 / Jan 30, 2011 11:08am

    Greg Salt

    3988 posts

    Hi Paul,

    No problem at all.

    @Roi, thanks for the help.

    Cheers

    Greg

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases