EE: Custom 404 page

Out of context: Reply #2

  • Started
  • Last post
  • 2 Responses
  • keiTai0

    tx, version3 but i found a solution

    in EE
    1/ created a 404 template
    2/
    {if segment_2 != ''}
    {redirect="404"}
    {/if}
    in my EE template's at top
    3/ enabled custom 404 in EE template preferences

    • hmm, not working correctlykeiTai
    • Due to the dynamic nature of EE's URL structure, there is no guarantee about exactly what any particular URL segment represents beyond the first segment. Thus, the error can only be triggered by a Template Group name that doesn't exist.keiTai
    • represents beyond the first segment. Thus, the error can only be triggered by a Template Group name that doesn't exist.keiTai
    • that doesn't exist.keiTai

View thread