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.

Deleted page URIs showing blank page instead of 404

September 08, 2010 6:13pm

Subscribe [5]
  • #1 / Sep 08, 2010 6:13pm

    ssebner

    39 posts

    After deleting a page URI from the “modules/pages” page and clearing the cache from “admin/utilities/clear cached data/all caches” page, the deleted URI returns the following page:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=utf-8"></HEAD>
    <BODY></BODY></HTML>

    Is this the expected behavior, or is there anything that can be done to remove the URI completely without having to delete the weblog entry or change the URI?

    BTW- I also tried expiring the page, but experienced the same behavior.

    We are using EE 1.6.9.

  • #2 / Sep 09, 2010 9:18am

    Sue Crocker

    26054 posts

    Did you set up a 404 Page? If so, what is in it?

  • #3 / Sep 09, 2010 11:39am

    ssebner

    39 posts

    Thanks, Sue. Yes, we did setup a 404 page that has the same design as most of our other pages, and it is working perfectly. If I delete the page or update the URI, I get the 404 page.

    Should I be getting the 404 page if I delete the URI or expire the page? I’m not sure what the expected behavior is here. I mean, the content isn’t showing, but I do get a blank page instead of the 404.

  • #4 / Sep 09, 2010 5:00pm

    Ingmar

    29245 posts

    Do you’ve got a link to the site? Does this also happen for other non-existing pages? The code your are seeing is probably generated by your web server. Is this an IIS?

  • #5 / Sep 09, 2010 5:18pm

    ssebner

    39 posts

    Thanks, Ingmar. This is on an internal site running on IIS, and it does not happen for other non-existing pages. Our 404 page appears to be working perfectly and was configured withing EE and IIS (custom error pages). All other IIS-generated error pages (400, etc.) return the standard, out-of-the-box IIS error messages that are not completely blank pages, such as: C:\WINDOWS\help\iisHelp\common\400.htm

  • #6 / Sep 10, 2010 3:51am

    John Henry Donovan

    12339 posts

    ssebner,

    What is in the response header of the page?

    Can you give an example of what your URL looks like please?
    If you type in an unknown URL right on segment one does it return your correct 404

    http://www.mydomain.com/index.php/sfefwefas

  • #7 / Sep 10, 2010 7:05pm

    ssebner

    39 posts

    Thanks, John- I think you just clued me in to what is going on here…

    I found the following: “ExpressionEngine will only display the 404 Template if the requested Template Group in the URL does not exist.”

    http://ellislab.com/expressionengine/user-guide/general/throttling.html

    We had a blank index page in one of our template groups, and I think that was the problem. Thanks again to everyone for your assistance.

  • #8 / Sep 11, 2010 3:38pm

    Greg Salt

    3988 posts

    Hi ssebner,

    Glad that you got this figured out. Please post back if you have further questions or problems.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases