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.

404 page brings back home page and 404

October 07, 2014 5:31am

Subscribe [1]
  • #1 / Oct 07, 2014 5:31am

    vlad

    213 posts

    Hi Guys,

    This is straight out of the box latest version.

    I created 3 template groups “home”, “about” and “404”. In each template I typed in the template name so 404 has the number “404” in it, home group has “home” and about has… you guessed it “about”.

    Set the EE settings for “strict url” and redirect to 404/index template.

    Than I made a test.

    mysite.com/about ==  returned “about”
    mysite.com/  == returned “home”
    mysite.com/404   == returned “404”

    which is all correct.

    Now when I typed in mysite.com/gibberish

    (This template doesn’t exist) I expected “404” but I got “404home”

    meaning both the home page and 404 page.

    What am I doing wrong?

    Thank you in advance for any advice.

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

ExpressionEngine News!

#eecms, #events, #releases