Welcome to WebmasterWorld Guest from

Forum Moderators: phranque

Message Too Old, No Replies

Custom 404 works but throws up a pop up window

Custom 404 works but throws up a pop up window



7:58 am on Oct 18, 2008 (gmt 0)

5+ Year Member


I have added the following line to my .htaccess

ErrorDocument 404 /404.php

When I type a url for my website that doesn't exist, it does the job and send the user to 404.php.

The problem is that it also throws up 2 windows, each with the header:

Error: the server returned the following HTTP status: 404

followed by the source code of the 404.php file.

Why does the pop up window appear and is there a way to turn off the the pop up window?

Many thanks

Mr M


12:24 am on Oct 19, 2008 (gmt 0)

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

What's in 404.php?

What type of server?


Featured Threads

Hot Threads This Week

Hot Threads This Month