Group Admins

  • Profile picture of Steve

WordPress Troubleshooting and Support

Public Group active 10 months, 2 weeks ago ago

WordPress support from our community

Displaying the 404 page problems

This topic contains 0 replies, has 3 voices, and was last updated by  Kevin Cristiano 8 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #1251



    I am having problems displaying my custom 404.php page. When a page does error it gives me a 404 – File page not found – Server error.

    I never ran wordpress on a Windows server before and i think it may be caused by the web.config file.

    This site is using Custom page templates and can be seen here and just make a page error and you will see the server error.

    Any help will be greatly appreciated




    Kevin Cristiano


    I have been fortunate (?) to run WordPress on IIS for a long time.

    You will need to edit your web.config. The web.config is the IIS equivilant of an apache .htaccess file.

    Specifically, you need to have the following:

    httpErrors existingResponse=”PassThrough”

    Let me know off line if you need help in configuring this, I don’t know how to post XML code here without it being stripped 🙂

    I have been running this for years. Let me know if you need any help editing the web.config

    I uploaded two samples:

    HTTP passthrough for 404.php to display –

    Full web config (with pretty permalinks)

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.